MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / Filename

Method Filename

internal/utils/bfs/blocks_file.go:102–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100}
101
102func (this *BlocksFile) Filename() string {
103 return this.fp.Name()
104}
105
106func (this *BlocksFile) Write(hash string, blockType BlockType, b []byte, originOffset int64) (n int, err error) {
107 if len(b) == 0 {

Callers 2

processClosingBFilesMethod · 0.45
shiftOpenFilesMethod · 0.45

Calls 1

NameMethod · 0.65

Tested by

no test coverage detected