tar

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package tar provides tar implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(name string, paths []string) error

Compress is compression.

ex) err := tar.Compress("test.tar.gz", []string{"./test", "./test.txt"})

func Decompress

func Decompress(name, outputPath string) error

Decompress is decompression.

ex) err := tar.Decompress("test.tar.gz", "./output")

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL