kubernetes/vendor/k8s.io/utils/path/file.go

type LinkTreatment

const CheckFollowSymlink

const CheckSymlinkOnly

var ErrInvalidLinkTreatment

// Exists checks if specified file, directory, or symlink exists. The behavior
// of the test depends on the linkBehaviour argument. See LinkTreatment for
// more details.
func Exists(linkBehavior LinkTreatment, filename string) (bool, error) {}

// ReadDirNoStat returns a string of files/directories contained
// in dirname without calling lstat on them.
func ReadDirNoStat(dirname string) ([]string, error) {}