MCPcopy
hub / github.com/syncthing/syncthing / CountNeed

Method CountNeed

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

Source from the content-addressed store, hash-verified

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
98 // Index IDs

Callers 14

folderCompletionMethod · 0.65
NeedSizeMethod · 0.65
ServeMethod · 0.65
pullMethod · 0.65
CountNeedMethod · 0.65
TestBasicsFunction · 0.65
TestNeedDeletedFunction · 0.65
TestDontNeedIgnoredFunction · 0.65

Implementers 1

DBinternal/db/sqlite/db_open.go

Calls

no outgoing calls

Tested by 8

TestBasicsFunction · 0.52
TestNeedDeletedFunction · 0.52
TestDontNeedIgnoredFunction · 0.52