MCPcopy
hub / github.com/syncthing/syncthing / CurrentFolderFile

Method CurrentFolderFile

lib/model/model.go:2156–2158  ·  view source on GitHub ↗
(folder string, file string)

Source from the content-addressed store, hash-verified

2154}
2155
2156func (m *model) CurrentFolderFile(folder string, file string) (protocol.FileInfo, bool, error) {
2157 return m.sdb.GetDeviceFile(folder, protocol.LocalDeviceID, file)
2158}
2159
2160func (m *model) CurrentGlobalFile(folder string, file string) (protocol.FileInfo, bool, error) {
2161 return m.sdb.GetGlobalFile(folder, file)

Callers 1

recheckFileMethod · 0.95

Calls 1

GetDeviceFileMethod · 0.65

Tested by

no test coverage detected