MCPcopy
hub / github.com/syncthing/syncthing / AllLocalFilesWithBlocksHash

Method AllLocalFilesWithBlocksHash

internal/db/interface.go:72–72  ·  view source on GitHub ↗
(folder string, h []byte)

Source from the content-addressed store, hash-verified

70 AllLocalFilesBySequence(folder string, device protocol.DeviceID, startSeq int64, limit int) (iter.Seq[protocol.FileInfo], func() error)
71 AllLocalFilesWithPrefix(folder string, device protocol.DeviceID, prefix string) (iter.Seq[protocol.FileInfo], func() error)
72 AllLocalFilesWithBlocksHash(folder string, h []byte) (iter.Seq[FileMetadata], func() error)
73 AllNeededGlobalFiles(folder string, device protocol.DeviceID, order config.PullOrder, limit, offset int) (iter.Seq[protocol.FileInfo], func() error)
74 AllLocalBlocksWithHash(folder string, hash []byte) (iter.Seq[BlockMapEntry], func() error)
75

Callers 5

AllForBlocksHashMethod · 0.65
findRenameMethod · 0.65
TestAllForBlocksHashFunction · 0.65

Implementers 1

DBinternal/db/sqlite/db_open.go

Calls

no outgoing calls

Tested by 1

TestAllForBlocksHashFunction · 0.52