Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ FileHeaders
Method
FileHeaders
internal/utils/bfs/meta_file.go:288–292 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
286
}
287
288
func
(this *MetaFile) FileHeaders()
map
[string]*LazyFileHeader {
289
this.mu.RLock()
290
defer
this.mu.RUnlock()
291
return
this.headerMap
292
}
293
294
func
(this *MetaFile) ExistFile(hash string) bool {
295
this.mu.RLock()
Callers
1
TestMetaFile_FileHeaders
Function · 0.80
Calls
2
RLock
Method · 0.80
RUnlock
Method · 0.80
Tested by
1
TestMetaFile_FileHeaders
Function · 0.64