MCPcopy Create free account
hub / github.com/devspace-sh/devspace / rewritePath

Method rewritePath

pkg/devspace/sync/symlink.go:74–76  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

72}
73
74func (s *Symlink) rewritePath(path string) string {
75 return s.SymlinkPath + path[len(s.TargetPath):]
76}
77
78// Crawl resolves the symlink and sends an event for each file in the target path
79func (s *Symlink) Crawl() error {

Callers 2

NewSymlinkFunction · 0.95
CrawlMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected