Versions in this module Expand all Collapse all v0 v0.0.1 Sep 27, 2021 Changes in this version + func WhereLx() (string, error) + type Distro struct + DistroId string + DistroName string + FileSystemVersion uint64 + InstallationDirectory string + WslVersion uint64 + func (ds *Distro) DirSize() string + type LxRunOffline struct + func Init(options Options) *LxRunOffline + func New() (*LxRunOffline, error) + func (lx *LxRunOffline) ClearASCII(values []byte, shouldGetFirstLine bool) string + func (lx *LxRunOffline) ExportDistro(distributionName string, tarDirFile string) error + func (lx *LxRunOffline) GetDefaultDistro() (string, string, error) + func (lx *LxRunOffline) GetDefaultDistroCmd() (string, *exec.Cmd, error) + func (lx *LxRunOffline) GetDistroSummary(distro_uid string) (*Distro, error) + func (lx *LxRunOffline) GetFirstLine(s string) string + func (lx *LxRunOffline) GetRegistrySubkey(path string, value string) (v []string, err error) + func (lx *LxRunOffline) GetRegistryValue(path string, value string) (v string, vtype uint32, err error) + func (lx *LxRunOffline) GetRegistryValueInt(path string, value string) (v uint64, vtype uint32, err error) + func (lx *LxRunOffline) GetSummaryCmd(distributionName string) (string, *exec.Cmd, error) + func (lx *LxRunOffline) IsWSL2(flag uint64) bool + func (lx *LxRunOffline) ListInstalled() ([]*Distro, error) + func (lx *LxRunOffline) ListInstalledCmd() ([]string, *exec.Cmd, error) + type Options struct + LibsPath string