Documentation ¶
Index ¶
- type TarArchive
- func (ta *TarArchive) Add(name string, data []byte)
- func (ta *TarArchive) AddDir(dir fs.ReadDirFS, root string) error
- func (ta *TarArchive) AddFile(dir fs.ReadDirFS, file string) error
- func (ta *TarArchive) Bytes(gzipped bool) ([]byte, error)
- func (ta *TarArchive) Content() (map[string][]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TarArchive ¶
type TarArchive struct {
// contains filtered or unexported fields
}
func NewTarFile ¶
func NewTarFile() *TarArchive
func (*TarArchive) Add ¶
func (ta *TarArchive) Add(name string, data []byte)
Click to show internal directories.
Click to hide internal directories.