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

Function equalFilePermissions

pkg/devspace/sync/sync.go:404–410  ·  view source on GitHub ↗
(mode os.FileMode, mode2 os.FileMode)

Source from the content-addressed store, hash-verified

402}
403
404func equalFilePermissions(mode os.FileMode, mode2 os.FileMode) bool {
405 if runtime.GOOS != "linux" && runtime.GOOS != "darwin" {
406 return true
407 }
408
409 return mode == mode2
410}
411
412// Stop stops the sync process
413func (s *Sync) Stop(fatalError error) {

Callers 3

sendChangesToUpstreamMethod · 0.85
filterChangesMethod · 0.85
decideMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected