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 ¶ added in v1.3.0
func FileNameIsGlob ¶ added in v1.0.6
FileNameIsGlob check if the filanem is a pattern
func ListFilesWithPattern ¶ added in v1.0.6
ListFilesWithPattern in a root folder
func LoadCidrsFromSliceOrFileWithMaxRecursion ¶ added in v1.1.4
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.