Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CorrectSystemUser ¶
CorrectSystemUser returns username, uid, gid of given user
func EnsureFuse ¶ added in v0.10.3
func EnsureFuse() error
EnsureFuse raise error if fuse is not found
func GetCurrentSystemUser ¶
GetCurrentSystemUser returns username, uid, gid of current user
func UnmountFuse ¶ added in v0.7.9
Unmount calls fusermount -uz on the mount.
Types ¶
type CheckFUSEStatus ¶ added in v0.7.9
type CheckFUSEStatus string
CheckFUSEStatus is used to describe FUSE installation state
const ( CheckFUSEStatusFound CheckFUSEStatus = "found" CheckFUSEStatusNotFound CheckFUSEStatus = "notfound" CheckFUSEStatusCannotRun CheckFUSEStatus = "cannotrun" CheckFUSEStatusUnknown CheckFUSEStatus = "unknown" )
func CheckDevFuse ¶ added in v0.7.9
func CheckDevFuse() CheckFUSEStatus
CheckDevFuse checks FUSE device
func CheckFuse ¶ added in v0.7.9
func CheckFuse() CheckFUSEStatus
CheckFuse checks FUSE installation state
Click to show internal directories.
Click to hide internal directories.