Documentation ¶
Index ¶
- func GzipDirectoryToMemoryFS(p filepaths.Path, inMemfs memfs.MemFS) ([]byte, error)
- func ZipKeystoreFileInMemory(p filepaths.Path, inMemFs memfs.MemFS) (*bytes.Buffer, error)
- type Compression
- func (c *Compression) GzipCompressDir(p *filepaths.Path) error
- func (c *Compression) Lz4Decompress(p *filepaths.Path) error
- func (c *Compression) TarCompress(p *filepaths.Path) error
- func (c *Compression) UnGzip(p *filepaths.Path) error
- func (c *Compression) UnGzipFromInMemFsOutToInMemFS(p *filepaths.Path, fs memfs.MemFS) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GzipDirectoryToMemoryFS ¶ added in v0.3.2
Types ¶
type Compression ¶
type Compression struct { }
func NewCompression ¶
func NewCompression() Compression
func (*Compression) GzipCompressDir ¶
func (c *Compression) GzipCompressDir(p *filepaths.Path) error
func (*Compression) Lz4Decompress ¶
func (c *Compression) Lz4Decompress(p *filepaths.Path) error
func (*Compression) TarCompress ¶
func (c *Compression) TarCompress(p *filepaths.Path) error
func (*Compression) UnGzip ¶
func (c *Compression) UnGzip(p *filepaths.Path) error
UnGzip takes a destination path and a reader; a tar reader loops over the tarfile creating the file structure at 'dst' along the way, and writing any files
func (*Compression) UnGzipFromInMemFsOutToInMemFS ¶
Click to show internal directories.
Click to hide internal directories.