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.13.5
- Published
- Mar 22, 2019
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 1 minute ago –
Tools for package owners.