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

Method SetDevSpaceRoot

pkg/devspace/config/loader/loader.go:72–72  ·  view source on GitHub ↗

SetDevSpaceRoot searches for a devspace.yaml in the current directory and parent directories and will return if a devspace.yaml was found as well as switch to the current working directory to that directory if a devspace.yaml could be found.

(log log.Logger)

Source from the content-addressed store, hash-verified

70 // and will return if a devspace.yaml was found as well as switch to the current
71 // working directory to that directory if a devspace.yaml could be found.
72 SetDevSpaceRoot(log log.Logger) (bool, error)
73}
74
75type configLoader struct {

Callers 15

RunLogsMethod · 0.95
RunMethod · 0.95
RunMethod · 0.95
initializeFunction · 0.95
RunMethod · 0.95
RunMethod · 0.95
parseConfigFunction · 0.95
RunAnalyzeMethod · 0.95
RunOpenMethod · 0.95
RunMethod · 0.95
RunRunMethod · 0.95
RunUIMethod · 0.95

Implementers 2

configLoaderpkg/devspace/config/loader/loader.go
FakeConfigLoaderpkg/devspace/config/loader/testing/fak

Calls

no outgoing calls

Tested by

no test coverage detected