MCPcopy
hub / github.com/syncthing/syncthing / GetFolderVersions

Method GetFolderVersions

lib/model/model.go:96–96  ·  view source on GitHub ↗
(folder string)

Source from the content-addressed store, hash-verified

94 SetIgnores(folder string, content []string) error
95
96 GetFolderVersions(folder string) (map[string][]versioner.FileVersion, error)
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)

Callers 3

TestVersionRestoreFunction · 0.65
TestFolderAPIErrorsFunction · 0.65
getFolderVersionsMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 2

TestVersionRestoreFunction · 0.52
TestFolderAPIErrorsFunction · 0.52