mount

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GOOSWindows = "windows"
	GOOSMacOS   = "darwin"
	GOOSLinux   = "linux"
)

Variables

View Source
var (
	ErrCommandError = errors.New("mount command failed")
	ErrNotOurMount  = errors.New("this mount is not managed by cz")
)

Functions

func BuildZipTree

func BuildZipTree(ctx context.Context, logger *slog.Logger, cacheDir, remoteZipURI string, procAttrs map[string]interface{}) (index.Tree, error)

func Daemonize

func Daemonize(cmd ...string) (int, error)

func NFSMount

func NFSMount(addr string, location string) error

func Umount

func Umount(location string) error

func WebDavMount

func WebDavMount(addr string, location string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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