# Functions
AddFlags adds the non filing system specific flags to the command.
AddRc adds mount and unmount functionality to rc.
CheckAllowNonEmpty checks --allow-non-empty flag, and if not used verifies that mountpoint is empty.
CheckMountEmpty checks if folder is not already a mountpoint.
CheckMountReady checks whether mountpoint is mounted by rclone.
CheckOverlap checks that root doesn't overlap with a mountpoint.
ClipBlocks clips the blocks pointed to the OS max.
NewMountCommand makes a mount command with the given name and Mount function.
NewMountPoint makes a new mounting structure.
NotifyOnSigHup makes SIGHUP notify given channel on supported systems.
ResolveMountMethod returns mount function by name.
WaitMountReady waits until mountpoint is mounted by rclone.
# Constants
don't pass file names longer than this.
# Variables
DefaultOpt is the default values for creating the mount.
Opt contains options set by command line flags.
# Structs
MountInfo is a transitional structure for json marshaling.
MountPoint represents a mount with options and runtime state.
Options for creating the mount.