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

Function InstallTar

src/install/install.go:283–286  ·  view source on GitHub ↗
(wsl wsllib.WslLib, name string, rootPath string)

Source from the content-addressed store, hash-verified

281}
282
283func InstallTar(wsl wsllib.WslLib, name string, rootPath string) error {
284 err := wsl.RegisterDistribution(name, rootPath)
285 return err
286}
287
288func InstallExt4Vhdx(wsl wsllib.WslLib, reg wsllib.WslReg, name string, rootPath string) error {
289 return installExt4VhdxWithDeps(wsl, reg, name, rootPath, defaultInstallDeps())

Callers 1

installWithDepsFunction · 0.85

Calls 1

RegisterDistributionMethod · 0.65

Tested by

no test coverage detected