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