MCPcopy Index your code
hub / github.com/syncthing/syncthing / AllLocalFiles

Method AllLocalFiles

internal/db/interface.go:69–69  ·  view source on GitHub ↗
(folder string, device protocol.DeviceID)

Source from the content-addressed store, hash-verified

67 AllGlobalFiles(folder string) (iter.Seq[FileMetadata], func() error)
68 AllGlobalFilesPrefix(folder string, prefix string) (iter.Seq[FileMetadata], func() error)
69 AllLocalFiles(folder string, device protocol.DeviceID) (iter.Seq[protocol.FileInfo], func() error)
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)

Callers 8

LocalFilesMethod · 0.65
revertMethod · 0.65
revertMethod · 0.65
AllLocalFilesMethod · 0.65
TestBasicsFunction · 0.65
AllLocalFilesMethod · 0.65

Implementers 1

DBinternal/db/sqlite/db_open.go

Calls

no outgoing calls

Tested by 2

TestBasicsFunction · 0.52