Documentation ¶ Overview ¶ Package archive untars a tarball to disk. Index ¶ func Untar(r io.Reader, dir string, notifyDone func(string)) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Untar ¶ func Untar(r io.Reader, dir string, notifyDone func(string)) error Untar reads the gzip-compressed tar file from r and writes it into dir. If the given notifyDone function is not nil, it is called as soon as untar is done for a tar archive entry using the name of the tar file entry as argument s. Types ¶ This section is empty. Source Files ¶ View all Source files untar.go Click to show internal directories. Click to hide internal directories.