Versions in this module Expand all Collapse all v0 v0.4.1 Mar 12, 2014 Changes in this version + const EnableDebug + const Version + type Downloader interface + Download func(url string, destination string, result chan<- error) + DownloadWithChecksum func(url string, destination string, result chan<- error, ...) + GetProgress func() Progress + Pause func() + Resume func() + Shutdown func() + type PackagePool interface + FilepathList func(progress Progress) ([]string, error) + Import func(path string, hashMD5 string) error + Path func(filename string, hashMD5 string) (string, error) + RelativePath func(filename string, hashMD5 string) (string, error) + Remove func(path string) (size int64, err error) + type Progress interface + AddBar func(count int) + ColoredPrintf func(msg string, a ...interface{}) + Flush func() + InitBar func(count int64, isBytes bool) + Printf func(msg string, a ...interface{}) + SetBar func(count int) + Shutdown func() + ShutdownBar func() + Start func() + type PublishedStorage interface + ChecksumsForFile func(path string) (utils.ChecksumInfo, error) + CreateFile func(path string) (*os.File, error) + LinkFromPool func(prefix string, component string, poolDirectory string, sourcePool PackagePool, ...) (string, error) + MkDir func(path string) error + PublicPath func() string + RemoveDirs func(path string) error