WithTempFolder returns a copy of parent in which the devspace temp folder is set
(parent context.Context, name string)
| 88 | |
| 89 | // WithTempFolder returns a copy of parent in which the devspace temp folder is set |
| 90 | func 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 |
| 95 | func TempFolderFrom(ctx context.Context) (string, bool) { |
no test coverage detected