Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
361
func
(this *BlocksFile) currentPos() (int64, error) {
362
return
this.fp.Seek(0, io.SeekCurrent)
363
}
364
365
func
(this *BlocksFile) sync(force bool) error {
366
if
!force {
Callers
1
Write
Method · 0.95
Calls
1
Seek
Method · 0.80
Tested by
no test coverage detected