Versions in this module Expand all Collapse all v1 v1.7.0 Oct 31, 2022 v1.6.9 Oct 23, 2022 Changes in this version + type OS interface + CopyFile func(src, dest string, perm os.FileMode) error + FollowSymlinkInScope func(path, scope string) (string, error) + Hostname func() (string, error) + MkdirAll func(path string, perm os.FileMode) error + RemoveAll func(path string) error + ResolveSymbolicLink func(name string) (string, error) + Stat func(name string) (os.FileInfo, error) + WriteFile func(filename string, data []byte, perm os.FileMode) error + type RealOS struct + func (RealOS) CopyFile(src, dest string, perm os.FileMode) error + func (RealOS) FollowSymlinkInScope(path, scope string) (string, error) + func (RealOS) Hostname() (string, error) + func (RealOS) LookupMount(path string) (mount.Info, error) + func (RealOS) MkdirAll(path string, perm os.FileMode) error + func (RealOS) Mount(source string, target string, fstype string, flags uintptr, data string) error + func (RealOS) RemoveAll(path string) error + func (RealOS) ResolveSymbolicLink(path string) (string, error) + func (RealOS) Stat(name string) (os.FileInfo, error) + func (RealOS) Unmount(target string) error + func (RealOS) WriteFile(filename string, data []byte, perm os.FileMode) error + type UNIX interface — darwin/amd64, js/wasm, linux/amd64 + LookupMount func(path string) (mount.Info, error) + Mount func(source string, target string, fstype string, flags uintptr, data string) error + Unmount func(target string) error