package
0.0.0-20241210054802-24370beab758
Repository: https://github.com/kubernetes/utils.git
Documentation: pkg.go.dev

# Functions

Exists checks if specified file, directory, or symlink exists.
ReadDirNoStat returns a string of files/directories contained in dirname without calling lstat on them.

# Constants

CheckFollowSymlink follows the symlink and verifies that the target of the symlink exists.
CheckSymlinkOnly does not follow the symlink and verifies only that they symlink itself exists.

# Variables

ErrInvalidLinkTreatment indicates that the link treatment behavior requested is not a valid behavior.

# Type aliases

LinkTreatment is the base type for constants used by Exists that indicate how symlinks are treated for existence checks.