Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrFileNotExist = errors.New("file: not exist") ErrFileNoContent = errors.New("file: no content") )
View Source
var ( // used to stop tar file walker ErrStop = errors.New("stop") ErrNotTarFile = errors.New("archiver: not tar file") )
Functions ¶
func GetTarFileRootDir ¶
func IsNoContent ¶
func IsNotExist ¶
func LoadVersion ¶
LoadVersion loads version info from file. Note only one version is allowed to be set in the file, and the first non-empty line is considered as version.
func PrintErrorAndExit ¶
func PrintErrorAndExit(err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.