Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ func Diskfree(drive string, freeBytesAvailable *uint64) error func LocalMountPoint(loc path.Local) (string, error) func OnUnix() bool func OnWindows() bool type FS func New() (*FS, error) func (fsys *FS) Abs(p path.Relative) path.Absolute func (fsys *FS) Rel(p path.Local) path.Relative Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Diskfree ¶ func Diskfree(drive string, freeBytesAvailable *uint64) error func LocalMountPoint ¶ func LocalMountPoint(loc path.Local) (string, error) func OnUnix ¶ func OnUnix() bool func OnWindows ¶ func OnWindows() bool Types ¶ type FS ¶ type FS struct { *mixfs.FS } func New ¶ func New() (*FS, error) func (*FS) Abs ¶ func (fsys *FS) Abs(p path.Relative) path.Absolute func (*FS) Rel ¶ added in v0.14.0 func (fsys *FS) Rel(p path.Local) path.Relative Rel returns the relative path from the given local path, so that it can be used inside the rootfs Source Files ¶ View all Source files rootfs.gorootfs_unix.go Click to show internal directories. Click to hide internal directories.