Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
FileExists returns true if the path components exist
func IsZeroLengthFile ¶
IsZeroLengthFile returns true if the filename specified is empty (0 bytes)
func OpenFile ¶
func OpenFile(fn string) (io.ReadCloser, error)
OpenFile will open a file and if it's gzipped return a gzipped reader as io.ReadCloser but will close both streams on close
func ResolveFileName ¶
ResolveFileName will attempt to resolve a filename attempting to look at both the basic name or the name + .gz extension
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.