filesystem

package
v0.0.0-...-72e9078 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MountOption

type MountOption struct {
	Source string
	Target string
	Type   string
	Flag   uintptr
	Option string
}

type Unmounter

type Unmounter func() error

func Mount

func Mount(mountOpts ...MountOption) (Unmounter, error)

Mount mounts list of mountOptions and returns a function to unmount them.

func OverlayMount

func OverlayMount(target string, src []string, readOnly bool) (Unmounter, error)

OverlayMount mounts a list of source directories to a target.

If readOnly was true the target will be read-only.

Jump to

Keyboard shortcuts

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