Documentation
¶
Index ¶
- func Bunzip2(dst io.Writer, src io.Reader) (written int64, err error)
- func Bunzip2File(dst, src string) error
- func CopyProgress(level capnslog.LogLevel, prefix string, writer io.Writer, reader io.Reader, ...) (int64, error)
- func LogFrom(l capnslog.LogLevel, r io.Reader)
- func Retry(attempts int, delay time.Duration, f func() error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bunzip2 ¶ added in v0.2.1
Bunzip2 does bunzip2 decompression from src to dst.
It matches the signature of io.Copy.
func Bunzip2File ¶ added in v0.2.1
Bunzip2File does bunzip2 decompression from src file into dst file.
func CopyProgress ¶
func CopyProgress(level capnslog.LogLevel, prefix string, writer io.Writer, reader io.Reader, total int64) (int64, error)
CopyProgress copies data from reader into writter, logging progress through level.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.