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

Method currentPos

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

Source from the content-addressed store, hash-verified

359}
360
361func (this *BlocksFile) currentPos() (int64, error) {
362 return this.fp.Seek(0, io.SeekCurrent)
363}
364
365func (this *BlocksFile) sync(force bool) error {
366 if !force {

Callers 1

WriteMethod · 0.95

Calls 1

SeekMethod · 0.80

Tested by

no test coverage detected