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

Function TempFolderFrom

pkg/devspace/context/values/values.go:95–98  ·  view source on GitHub ↗

TempFolderFrom returns the name of the temporary devspace folder

(ctx context.Context)

Source from the content-addressed store, hash-verified

93
94// TempFolderFrom returns the name of the temporary devspace folder
95func TempFolderFrom(ctx context.Context) (string, bool) {
96 user, ok := ctx.Value(tempFolderKey).(string)
97 return user, ok
98}
99
100func WithDependency(parent context.Context, dependency bool) context.Context {
101 return WithValue(parent, dependencyKey, dependency)

Callers 2

deleteTempFolderFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected