MCPcopy Index your code
hub / github.com/devspace-sh/devspace / newInitialSyncer

Function newInitialSyncer

pkg/devspace/sync/initial.go:45–51  ·  view source on GitHub ↗
(options *initialSyncOptions)

Source from the content-addressed store, hash-verified

43}
44
45func newInitialSyncer(options *initialSyncOptions) *initialSyncer {
46 if options.Strategy == "" {
47 options.Strategy = latest.InitialSyncStrategyMirrorLocal
48 }
49
50 return &initialSyncer{o: options}
51}
52
53func (i *initialSyncer) Run(remoteState map[string]*FileInformation, localState map[string]*FileInformation) error {
54 // Here we calculate the delta between the remote and local state, the result of this operation

Callers 1

initialSyncMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected