Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GraphDeployer
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coscine
backend
scripts
GraphDeployer
Merge requests
!16
New: Fast Deployment
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Merged
New: Fast Deployment
Hotfix/xxxx-fastDeployment
into
master
Overview
0
Commits
1
Pipelines
1
Changes
2
Merged
Benedikt Heinrichs
requested to merge
Hotfix/xxxx-fastDeployment
into
master
1 year ago
Overview
0
Commits
1
Pipelines
1
Changes
2
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
0c763c58
1 commit,
1 year ago
2 files
+
50
−
18
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/GraphDeployer/HashUtil.cs
0 → 100644
+
18
−
0
Options
using
System.Security.Cryptography
;
namespace
Coscine.GraphDeployer
{
public
static
class
HashUtil
{
public
static
string
GetFileHash
(
string
path
)
{
using
(
SHA256
sha256
=
SHA256
.
Create
())
{
using
(
FileStream
fileStream
=
File
.
OpenRead
(
path
))
{
return
BitConverter
.
ToString
(
sha256
.
ComputeHash
(
fileStream
));
}
}
}
}
}
Loading