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

Function WithTempFolder

pkg/devspace/context/values/values.go:90–92  ·  view source on GitHub ↗

WithTempFolder returns a copy of parent in which the devspace temp folder is set

(parent context.Context, name string)

Source from the content-addressed store, hash-verified

88
89// WithTempFolder returns a copy of parent in which the devspace temp folder is set
90func WithTempFolder(parent context.Context, name string) context.Context {
91 return WithValue(parent, tempFolderKey, name)
92}
93
94// TempFolderFrom returns the name of the temporary devspace folder
95func TempFolderFrom(ctx context.Context) (string, bool) {

Callers 1

initializeFunction · 0.92

Calls 1

WithValueFunction · 0.85

Tested by

no test coverage detected