Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dagger/dagger
/ newHashFromStat
Function
newHashFromStat
engine/filesync/hash.go:19–23 ·
view source on GitHub ↗
(stat *fstypes.Stat)
Source
from the content-addressed store, hash-verified
17
}
18
19
func
newHashFromStat(stat *fstypes.Stat) hash.Hash {
20
h := &statHash{Hash: xxh3.New(), stat: stat}
21
h.Reset()
22
return
h
23
}
24
25
type
statHash
struct
{
26
hash.Hash
Callers
5
GetPreviousChange
Method · 0.85
Mkdir
Method · 0.85
Symlink
Method · 0.85
Hardlink
Method · 0.85
WriteFile
Method · 0.85
Calls
2
Reset
Method · 0.95
New
Method · 0.65
Tested by
no test coverage detected