Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadNetworkHistorySegmentData ¶ added in v0.71.0
func ReadNetworkHistorySegmentData(file io.ReadSeekCloser, size int64, historyFileName string) (io.Reader, error)
ReadNetworkHistorySegmentData takes a io.Reader reading from a network history segment .tar archive then
- looks inside the .tar archive for historysnapshot.tar.gz
- looks looks historysnapshot.tar.gz for a file called `historyFileName`
- returns an io.Reader for reading that file
func RemoveAllFromDirectoryIfExists ¶
RemoveAllFromDirectoryIfExists used in place of os.RemoveAll when the directory should be emptied but not removed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.