MCPcopy Index your code
hub / github.com/dearcode/candy / exist

Method exist

store/file.go:208–210  ·  view source on GitHub ↗
(key []byte)

Source from the content-addressed store, hash-verified

206}
207
208func (f *fileDB) exist(key []byte) (bool, error) {
209 return f.db.Has(key, nil)
210}

Callers 3

CheckFileMethod · 0.45
TestFileDBFunction · 0.45
checkMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestFileDBFunction · 0.36