Documentation
¶
Index ¶
- type AddFileOptions
- type AddFolderOptions
- type TarWriter
- func (tf *TarWriter) AddContentFile(filename string, content []byte, options AddFileOptions) error
- func (tf *TarWriter) AddEmptyFolder(folderPath, internalPath string) error
- func (tf *TarWriter) AddFile(filePath string, options AddFileOptions) error
- func (tf *TarWriter) AddFiles(filePaths []string, options AddFileOptions) error
- func (tf *TarWriter) AddFolder(folderPath string, options AddFolderOptions) error
- func (tf *TarWriter) AddFolders(folderPaths []string, options AddFolderOptions) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddFileOptions ¶
type AddFolderOptions ¶
type TarWriter ¶
func NewTarWriter ¶
func (*TarWriter) AddContentFile ¶
func (tf *TarWriter) AddContentFile(filename string, content []byte, options AddFileOptions) error
func (*TarWriter) AddEmptyFolder ¶
func (*TarWriter) AddFile ¶
func (tf *TarWriter) AddFile(filePath string, options AddFileOptions) error
func (*TarWriter) AddFiles ¶
func (tf *TarWriter) AddFiles(filePaths []string, options AddFileOptions) error
func (*TarWriter) AddFolder ¶
func (tf *TarWriter) AddFolder(folderPath string, options AddFolderOptions) error
func (*TarWriter) AddFolders ¶
func (tf *TarWriter) AddFolders(folderPaths []string, options AddFolderOptions) error
Click to show internal directories.
Click to hide internal directories.