(ctx context.Context)
| 71 | } |
| 72 | |
| 73 | func normalizeContext(ctx context.Context) context.Context { |
| 74 | if ctx == nil { |
| 75 | return context.Background() |
| 76 | } |
| 77 | return ctx |
| 78 | } |
| 79 | |
| 80 | // Install installs distribution with default rootfs file names |
| 81 | func Install(ctx context.Context, wsl wsllib.WslLib, reg wsllib.WslReg, name string, rootPath string, sha256Sum string, showProgress bool) error { |