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

Method CountLocal

internal/db/interface.go:94–94  ·  view source on GitHub ↗
(folder string, device protocol.DeviceID)

Source from the content-addressed store, hash-verified

92 // Counts
93 CountGlobal(folder string) (Counts, error)
94 CountLocal(folder string, device protocol.DeviceID) (Counts, error)
95 CountNeed(folder string, device protocol.DeviceID) (Counts, error)
96 CountReceiveOnlyChanged(folder string) (Counts, error)
97

Callers 10

LocalSizeMethod · 0.65
CountLocalMethod · 0.65
TestBasicsFunction · 0.65
TestDropFilesNamedFunction · 0.65
TestDropFolderFunction · 0.65
TestDropDeviceFunction · 0.65
TestDropAllFilesFunction · 0.65
BenchmarkUpdateFunction · 0.65
CountLocalMethod · 0.65

Implementers 1

DBinternal/db/sqlite/db_open.go

Calls

no outgoing calls

Tested by 7

TestBasicsFunction · 0.52
TestDropFilesNamedFunction · 0.52
TestDropFolderFunction · 0.52
TestDropDeviceFunction · 0.52
TestDropAllFilesFunction · 0.52
BenchmarkUpdateFunction · 0.52