MCPcopy Index your code
hub / github.com/peak/s5cmd / ShouldSync

Method ShouldSync

command/sync_strategy.go:11–11  ·  view source on GitHub ↗
(srcObject, dstObject *storage.Object)

Source from the content-addressed store, hash-verified

9// to destination object
10type SyncStrategy interface {
11 ShouldSync(srcObject, dstObject *storage.Object) error
12}
13
14func NewStrategy(sizeOnly bool) SyncStrategy {

Callers 1

planRunMethod · 0.65

Implementers 2

SizeOnlyStrategycommand/sync_strategy.go
SizeAndModificationStrategycommand/sync_strategy.go

Calls

no outgoing calls

Tested by

no test coverage detected