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

Method execCommandsAfterApply

pkg/devspace/sync/upstream.go:303–313  ·  view source on GitHub ↗
(changedFiles []string)

Source from the content-addressed store, hash-verified

301}
302
303func (u *upstream) execCommandsAfterApply(changedFiles []string) error {
304 u.initialSyncCompletedMutex.Lock()
305 defer u.initialSyncCompletedMutex.Unlock()
306
307 if !u.initialSyncCompleted {
308 u.initialSyncChanges = append(u.initialSyncChanges, changedFiles...)
309 return nil
310 }
311
312 return u.execCommands(changedFiles)
313}
314
315func (u *upstream) execCommands(changedFiles []string) error {
316 // execute exec commands

Callers 1

applyChangesMethod · 0.95

Calls 3

execCommandsMethod · 0.95
LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected