MCPcopy
hub / github.com/yuk7/wsldl / normalizeContext

Function normalizeContext

src/install/install.go:73–78  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

71}
72
73func 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
81func Install(ctx context.Context, wsl wsllib.WslLib, reg wsllib.WslReg, name string, rootPath string, sha256Sum string, showProgress bool) error {

Callers 1

installWithDepsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected