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.12.1
Published
Oct 5, 2018
Platform
windows/amd64
Imports
1 packages
Last checked
2 hours ago

Tools for package owners.