fuse

package
v0.0.0-...-fd5963e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MountState

type MountState struct {
	// contains filtered or unexported fields
}

MountState holds information about a current mount.

func Mount

func Mount(c *client.Client, path string) *MountState

Mount mounts a Blb FUSE filesystem on the given path and runs the FUSE server in a goroutine. It returns immediately.

func (*MountState) Exited

func (ms *MountState) Exited() bool

Exited returns true if the FUSE goroutine has exited.

func (*MountState) String

func (ms *MountState) String() string

String returns a string representation of the state of this mount.

func (*MountState) Unmount

func (ms *MountState) Unmount() error

Unmount tries to unmount an existing FUSE mount.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL