multipath

package
v0.56.4 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: GPL-3.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotFound added in v0.23.0

func IsNotFound(err error) bool

IsNotFound returns a boolean indicating whether the error is ErrNotFound or not.

Types

type ErrNotFound added in v0.23.0

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

func (ErrNotFound) Error added in v0.23.0

func (e ErrNotFound) Error() string

type MultiPath

type MultiPath []string

MultiPath multi-paths

func New

func New(paths ...string) MultiPath

New multi-paths

func (MultiPath) Find

func (p MultiPath) Find(filename string) (string, error)

Find finds a file in given paths

Jump to

Keyboard shortcuts

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