MCPcopy
hub / github.com/syncthing/syncthing / Update

Method Update

lib/scanner/blocks.go:23–23  ·  view source on GitHub ↗
(bytes int64)

Source from the content-addressed store, hash-verified

21
22type Counter interface {
23 Update(bytes int64)
24}
25
26const bufSize = 32 << 10 // 32k

Callers 15

SetDeletedMethod · 0.65
TestCopyFunction · 0.65
DownloadProgressMethod · 0.65
localIndexUpdateFunction · 0.65
updateLocalsMethod · 0.65
handleForcedRescansMethod · 0.65
TestCopierCleanupFunction · 0.65

Implementers 10

Vectorlib/protocol/vector.go
scanBatchlib/model/folder.go
deviceFolderDownloadStatelib/model/devicedownloadstate.go
deviceDownloadStatelib/model/devicedownloadstate.go
noopCounterlib/scanner/blocks.go
byteCounterlib/scanner/walk.go
metricsDBinternal/db/metrics.go
folderDBinternal/db/sqlite/folderdb_open.go
DBinternal/db/sqlite/db_open.go
cachedReleasescmd/infra/stupgrades/main.go

Calls

no outgoing calls

Tested by 15

TestCopyFunction · 0.52
localIndexUpdateFunction · 0.52
TestCopierCleanupFunction · 0.52
TestDeleteBehindSymlinkFunction · 0.52
TestPullCaseOnlyRenameFunction · 0.52