pathexists

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertPathExists

func AssertPathExists(path string) error

AssertPathExists validates that a path is a file or directory

func AssertPathIsDir

func AssertPathIsDir(path string) error

AssertPathIsDir validates that the path is a directory

func AssertPathIsFile

func AssertPathIsFile(path string) error

AssertPathIsFile validates that the path is a file

func AssertPathsAllExist

func AssertPathsAllExist(paths []string) error

AssertPathsAllExist validates that all paths are files or directories

func AssertPathsAreDirectories

func AssertPathsAreDirectories(paths []string) error

AssertPathsAreDirectories validates that all paths are directories

func AssertPathsAreFiles

func AssertPathsAreFiles(paths []string) error

AssertPathsAreFiles validates that all paths are files

func IsDir

func IsDir(path string) bool

IsDir checks that a path is a directory

func IsFile

func IsFile(path string) bool

IsFile checks that a path is a file

func PathExists

func PathExists(path string) bool

PathExists checks that a path is a file or directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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