mount

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowOther

func AllowOther() fuse.MountOption

AllowOther allows other users to access the filesystem.

func Name

func Name(name string) fuse.MountOption

Name sets the name of the filesystem

Types

type Mount

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

func NewMount

func NewMount(dir string, journalCache *journalcache.JournalCache) *Mount

func (*Mount) Dir

func (m *Mount) Dir() string

func (*Mount) Serve

func (m *Mount) Serve(options ...MountOption) error

func (*Mount) Unmount

func (m *Mount) Unmount() error

type MountOption

type MountOption func() fuse.MountOption

Jump to

Keyboard shortcuts

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