MCPcopy
hub / github.com/syncthing/syncthing / LocalFiles

Method LocalFiles

lib/model/model.go:99–99  ·  view source on GitHub ↗
(folder string, device protocol.DeviceID)

Source from the content-addressed store, hash-verified

97 RestoreFolderVersions(folder string, versions map[string]time.Time) (map[string]error, error)
98
99 LocalFiles(folder string, device protocol.DeviceID) (iter.Seq[protocol.FileInfo], func() error)
100 LocalFilesSequenced(folder string, device protocol.DeviceID, startSet int64) (iter.Seq[protocol.FileInfo], func() error)
101 LocalSize(folder string, device protocol.DeviceID) (db.Counts, error)
102 GlobalSize(folder string) (db.Counts, error)

Callers 5

TestRenameSequenceOrderFunction · 0.65
TestRenameSameFileFunction · 0.65
TestScanRenameCaseOnlyFunction · 0.65

Implementers 2

modellib/model/model.go
Modellib/model/mocks/model.go

Calls

no outgoing calls

Tested by 5

TestRenameSequenceOrderFunction · 0.52
TestRenameSameFileFunction · 0.52
TestScanRenameCaseOnlyFunction · 0.52