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

Interface WslReg

src/lib/wsllib/interface.go:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40type WslReg interface {
41 GetProfileFromName(name string) (Profile, error)
42 GetProfileFromBasePath(path string) (Profile, error)
43 WriteProfile(profile Profile) error
44 SetWslVersion(name string, version int) error
45 GenerateProfile() Profile
46}
47
48type Dependencies struct {
49 Wsl WslLib

Callers 19

executeWithOptionsFunction · 0.65
TestNewNativeWslRegStubFunction · 0.65
backupRegFunction · 0.65
backupExt4VhdxWithCopyFunction · 0.65
installExt4VhdxWithDepsFunction · 0.65
TestNewNativeWslRegStubFunction · 0.65
repairRegistryFunction · 0.65
TestNewNativeWslRegStubFunction · 0.65
repairRegistryFunction · 0.65

Implementers 3

testWslRegsrc/lib/wsllib/interface_test.go
MockWslRegsrc/lib/wsllib/mock.go
nativeWslRegsrc/lib/wsllib/impl_stub.go

Calls

no outgoing calls

Tested by

no test coverage detected