package file
import "k8s.io/kubernetes/pkg/util/file"
Index ¶
- func FileExists(filename string) (bool, error)
- func FileOrSymlinkExists(filename string) (bool, error)
- func ReadDirNoStat(dirname string) ([]string, error)
Functions ¶
func FileExists ¶
FileExists checks if specified file exists.
func FileOrSymlinkExists ¶
FileOrSymlinkExists checks if specified file or symlink exists.
func ReadDirNoStat ¶
ReadDirNoStat returns a string of files/directories contained in dirname without calling lstat on them.
Source Files ¶
file.go
- Version
- v1.12.1
- Published
- Oct 5, 2018
- Platform
- windows/amd64
- Imports
- 1 packages
- Last checked
- 2 hours ago –
Tools for package owners.