Documentation ¶
Index ¶
- type TarGzip
- func (t *TarGzip) AddDirectory(dirpath string) error
- func (t *TarGzip) AddFile(filename string, dest ...string) error
- func (t *TarGzip) AddFileFromBuffer(filename string, b []byte) error
- func (t *TarGzip) Close() error
- func (t *TarGzip) Name() string
- func (t *TarGzip) Remove() error
- func (t *TarGzip) Size() int64
- func (t *TarGzip) Write(p []byte) (n int, err error)
- func (t *TarGzip) Written() uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TarGzip ¶
type TarGzip struct {
// contains filtered or unexported fields
}
TarGzip is a combined writer for .tar.gz-alike files
func NewTempFile ¶
NewTempFile create a new targzip writer tempfile
func (*TarGzip) AddDirectory ¶
AddDirectory adds a directory entry
func (*TarGzip) AddFileFromBuffer ¶
AddFileFromBuffer adds a file from a buffer
Click to show internal directories.
Click to hide internal directories.