MCPcopy
hub / github.com/syncthing/syncthing / GetDeviceSequence

Method GetDeviceSequence

internal/db/interface.go:87–87  ·  view source on GitHub ↗

Various metadata

(folder string, device protocol.DeviceID)

Source from the content-addressed store, hash-verified

85
86 // Various metadata
87 GetDeviceSequence(folder string, device protocol.DeviceID) (int64, error)
88 ListFolders() ([]string, error)
89 ListDevicesForFolder(folder string) ([]protocol.DeviceID, error)
90 RemoteSequences(folder string) (map[protocol.DeviceID]int64, error)

Callers 14

folderCompletionMethod · 0.65
SequenceMethod · 0.65
localIndexUpdateFunction · 0.65
updateLocalsMethod · 0.65
newIndexHandlerFunction · 0.65
ServeMethod · 0.65
receiveMethod · 0.65
GetDeviceSequenceMethod · 0.65
TestBasicsFunction · 0.65
BenchmarkUpdateFunction · 0.65

Implementers 1

DBinternal/db/sqlite/db_open.go

Calls

no outgoing calls

Tested by 3

localIndexUpdateFunction · 0.52
TestBasicsFunction · 0.52
BenchmarkUpdateFunction · 0.52