Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsMountpoint ¶
ContainsMountpoint returns true if the file is a mountpoint, or if the file is a directory that contains a mountpoint somewhere in it.
func IsMounted ¶
IsMounted returns true if the file is located inside a mounted directory of the current filesystem, and false otherwise. Returns false on every file with no error if the mounts file was not found.
func IsMountpoint ¶
IsMountpoint returns true if the file is a mountpoint, with an error if there was a problem reading the mountpoint information. Returns false on every file with no error if the mounts file was not found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.