MCPcopy
hub / github.com/syncthing/syncthing / AllGlobalFilesPrefix

Method AllGlobalFilesPrefix

internal/db/interface.go:68–68  ·  view source on GitHub ↗
(folder string, prefix string)

Source from the content-addressed store, hash-verified

66 // required.
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)

Callers 4

GlobalDirectoryTreeMethod · 0.65
AllGlobalFilesPrefixMethod · 0.65
TestBasicsFunction · 0.65
AllGlobalFilesPrefixMethod · 0.65

Implementers 1

DBinternal/db/sqlite/db_open.go

Calls

no outgoing calls

Tested by 1

TestBasicsFunction · 0.52