Documentation ¶
Overview ¶
Package fileutil contains all the funcionality related to deal with files
Index ¶
- func AbsPathOrDefault(p string) string
- func FileNameIsGlob(pattern string) bool
- func HasStdin() bool
- func ListFilesWithPattern(rootpattern string) ([]string, error)
- func LoadCidrsFromSliceOrFileWithMaxRecursion(option string, splitchar string, maxRecursion int) (networkList []string)
- func LoadFile(filename string) (lines []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbsPathOrDefault ¶
func FileNameIsGlob ¶
FileNameIsGlob check if the filanem is a pattern
func ListFilesWithPattern ¶
ListFilesWithPattern in a root folder
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.