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

Method GetGlobalFile

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

Source from the content-addressed store, hash-verified

56 GetDeviceFile(folder string, device protocol.DeviceID, file string) (protocol.FileInfo, bool, error)
57 GetGlobalAvailability(folder, file string) ([]protocol.DeviceID, error)
58 GetGlobalFile(folder string, file string) (protocol.FileInfo, bool, error)
59
60 // File iterators
61 //

Callers 13

NeedFolderFilesMethod · 0.65
CurrentGlobalFileMethod · 0.65
revertMethod · 0.65
UpdateMethod · 0.65
processNeededMethod · 0.65
GetGlobalFileMethod · 0.65
TestBasicsFunction · 0.65
BenchmarkUpdateFunction · 0.65
testDropWithDropperFunction · 0.65
TestDeletedAfterConflictFunction · 0.65

Implementers 1

DBinternal/db/sqlite/db_open.go

Calls

no outgoing calls

Tested by 5

TestBasicsFunction · 0.52
BenchmarkUpdateFunction · 0.52
testDropWithDropperFunction · 0.52
TestDeletedAfterConflictFunction · 0.52