Documentation
¶
Overview ¶
Package mount contains an implementation of hackpadfs.MountFS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
FS is mesh of several file systems mounted at different paths. Mount a file system with AddMount().
For ease of use, call the standard operations via hackpadfs.OpenFile(fs, ...), hackpadfs.Mkdir(fs, ...), etc.
func (*FS) AddMount ¶
AddMount mounts 'mount' at 'path'. The mount point must already exist as a directory.
func (*FS) MountPoints ¶
MountPoints returns a slice of mount points every mounted file system.
Click to show internal directories.
Click to hide internal directories.