Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
Stream is a tar stream of files (or zip files). Files are transfered in the order of adding.
func (*Stream) AddFile ¶
AddFile adds a file of name and mode into the stream, which content is read from file f.
func (*Stream) AddZipFile ¶
AddZipFile adds a zip file into the stream.
Click to show internal directories.
Click to hide internal directories.