mountchecker

package
v0.94.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

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

func NewChecker

func NewChecker(bufio bufioshim.Bufio, os osshim.Os) Checker

func (Checker) Exists

func (c Checker) Exists(mountPath string) (bool, error)

func (Checker) List

func (c Checker) List(pattern *regexp.Regexp) ([]string, error)

type MountChecker

type MountChecker interface {
	Exists(string) (bool, error)
	List(*regexp.Regexp) ([]string, error)
}

Jump to

Keyboard shortcuts

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