mounts

package
v0.0.0-...-ec65a71 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bind

func Bind(ctx context.Context, root, srcPath string) (err error)

func Binds

func Binds(ctx context.Context, root string, srcPaths []string, continueOnError ...bool) (err error)

func Chroot

func Chroot(ctx context.Context, target string) (err error)

func MountedEndpoints

func MountedEndpoints(dirs ...string) (endpoints []string, err error)

获取制定目录下的挂载点列表

func Unbind

func Unbind(ctx context.Context, root string, removeEmpty ...bool) (err error)

递归卸载挂载点

Types

This section is empty.

Jump to

Keyboard shortcuts

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