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

Method RemoveSymlinks

pkg/devspace/sync/upstream.go:632–639  ·  view source on GitHub ↗
(absPath string)

Source from the content-addressed store, hash-verified

630}
631
632func (u *upstream) RemoveSymlinks(absPath string) {
633 for key, symlink := range u.symlinks {
634 if key == absPath || strings.Index(filepath.ToSlash(key)+"/", filepath.ToSlash(absPath)) == 0 {
635 symlink.Stop()
636 delete(u.symlinks, key)
637 }
638 }
639}
640
641func (u *upstream) applyChanges(changes []*FileInformation) error {
642 u.sync.log.Debugf("Upstream - Start applying %d changes", len(changes))

Callers 1

evaluateChangeMethod · 0.95

Calls 1

StopMethod · 0.65

Tested by

no test coverage detected