Documentation ¶
Overview ¶
Package fileutil contains all the funcionality related to deal with files
Index ¶
- func FileExists(filename string) bool
- func FileNameIsGlob(pattern string) bool
- func FolderExists(folderpath string) bool
- func HasStdin() bool
- func ListFilesWithPattern(rootpattern string) ([]string, error)
- func LoadCidrsFromSliceOrFile(option string, splitchar string) (networkList []string)
- func LoadFile(filename string) (lines []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
FileExists checks if a file exists and is not a directory
func FileNameIsGlob ¶
FileNameIsGlob check if the filanem is a pattern
func FolderExists ¶
FolderExists checks if a folder exists
func ListFilesWithPattern ¶
ListFilesWithPattern in a root folder
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.