Documentation
¶
Index ¶
- func AddFileFromFileContentBytesToTarArchiveBytes(archiveToExtend []byte, fileName string, content []byte) (tarBytes []byte, err error)
- func AddFileFromFileContentStringToTarArchiveBytes(archiveToExtend []byte, fileName string, content string) (tarBytes []byte, err error)
- func CreateTarArchiveFromFileContentByteIntoWriter(ioWriter io.Writer, fileName string, content []byte) (err error)
- func CreateTarArchiveFromFileContentStringAndGetAsBytes(fileName string, content string) (tarBytes []byte, err error)
- func CreateTarArchiveFromFileContentStringIntoWriter(fileName string, content string, ioWriter io.Writer) (err error)
- func ListFileNamesFromTarArchiveBytes(archiveBytes []byte) (fileNames []string, err error)
- func ReadFileFromTarArchiveBytesAsBytes(archiveBytes []byte, fileNameToRead string) (content []byte, err error)
- func ReadFileFromTarArchiveBytesAsString(archiveBytes []byte, fileNameToRead string) (content string, err error)
- func WriteFileContentBytesIntoWriter(ioWriter io.Writer, fileName string, content []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFileFromFileContentBytesToTarArchiveBytes ¶ added in v0.379.0
func AddFileFromFileContentStringToTarArchiveBytes ¶ added in v0.379.0
func CreateTarArchiveFromFileContentByteIntoWriter ¶ added in v0.379.0
func CreateTarArchiveFromFileContentStringAndGetAsBytes ¶ added in v0.379.0
func CreateTarArchiveFromFileContentStringIntoWriter ¶ added in v0.379.0
func ListFileNamesFromTarArchiveBytes ¶ added in v0.379.0
func ReadFileFromTarArchiveBytesAsBytes ¶ added in v0.379.0
func ReadFileFromTarArchiveBytesAsString ¶ added in v0.379.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.