lib

package
v0.0.0-...-d363ebf Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidPathErr

func IsInvalidPathErr(err error) bool

IsInvalidPathErr indicates if an error was returned because of invalid input path

func PathExists

func PathExists(path string) bool

func WalkPath

func WalkPath(path string, walkFunc filepath.WalkFunc) error

WalkPath walks through the root directory, running the input `walkFunc` function on all files. If the root path is invalid, a custom error is returned, use IsInvalidPathErr to check for this.

Note: The parameter `walkFunc` will be selectively run on files

Types

This section is empty.

Jump to

Keyboard shortcuts

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