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

Method Update

internal/db/interface.go:52–52  ·  view source on GitHub ↗

Basics

(folder string, device protocol.DeviceID, fs []protocol.FileInfo, opts ...UpdateOption)

Source from the content-addressed store, hash-verified

50
51 // Basics
52 Update(folder string, device protocol.DeviceID, fs []protocol.FileInfo, opts ...UpdateOption) error
53 Close() error
54
55 // Single files

Callers 15

UpdateMethod · 0.65
TestBasicsFunction · 0.65
TestPrefixGlobbingFunction · 0.65
TestPrefixGlobbingStarFunction · 0.65
TestAvailabilityFunction · 0.65
TestDropFilesNamedFunction · 0.65
TestDropFolderFunction · 0.65
TestDropDeviceFunction · 0.65
TestDropAllFilesFunction · 0.65
TestConcurrentUpdateFunction · 0.65
TestAllForBlocksHashFunction · 0.65

Implementers 1

DBinternal/db/sqlite/db_open.go

Calls

no outgoing calls

Tested by 15

TestBasicsFunction · 0.52
TestPrefixGlobbingFunction · 0.52
TestPrefixGlobbingStarFunction · 0.52
TestAvailabilityFunction · 0.52
TestDropFilesNamedFunction · 0.52
TestDropFolderFunction · 0.52
TestDropDeviceFunction · 0.52
TestDropAllFilesFunction · 0.52
TestConcurrentUpdateFunction · 0.52
TestAllForBlocksHashFunction · 0.52