kubernetesk8s.io/kubernetes/pkg/util/file Index | Files

package file

import "k8s.io/kubernetes/pkg/util/file"

Index

Functions

func FileExists

func FileExists(filename string) (bool, error)

FileExists checks if specified file exists.

func FileOrSymlinkExists

func FileOrSymlinkExists(filename string) (bool, error)

FileOrSymlinkExists checks if specified file or symlink exists.

func ReadDirNoStat

func ReadDirNoStat(dirname string) ([]string, error)

ReadDirNoStat returns a string of files/directories contained in dirname without calling lstat on them.

Source Files

file.go

Version
v1.13.9
Published
Aug 1, 2019
Platform
js/wasm
Imports
1 packages
Last checked
6 minutes ago

Tools for package owners.