tarutil

package
v1.28.3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0, MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CacheFileConstraints = map[string]int64{
	"p_aux": 64,
	"t_aux": 10240,

	"sc-02-data-tree-r-last.dat": 10_000_000,

	"sc-02-data-tree-r-last-0.dat": 10_000_000,
	"sc-02-data-tree-r-last-1.dat": 10_000_000,
	"sc-02-data-tree-r-last-2.dat": 10_000_000,
	"sc-02-data-tree-r-last-3.dat": 10_000_000,
	"sc-02-data-tree-r-last-4.dat": 10_000_000,
	"sc-02-data-tree-r-last-5.dat": 10_000_000,
	"sc-02-data-tree-r-last-6.dat": 10_000_000,
	"sc-02-data-tree-r-last-7.dat": 10_000_000,

	"sc-02-data-tree-r-last-8.dat":  10_000_000,
	"sc-02-data-tree-r-last-9.dat":  10_000_000,
	"sc-02-data-tree-r-last-10.dat": 10_000_000,
	"sc-02-data-tree-r-last-11.dat": 10_000_000,
	"sc-02-data-tree-r-last-12.dat": 10_000_000,
	"sc-02-data-tree-r-last-13.dat": 10_000_000,
	"sc-02-data-tree-r-last-14.dat": 10_000_000,
	"sc-02-data-tree-r-last-15.dat": 10_000_000,

	"sc-02-data-layer-1.dat":  65 << 30,
	"sc-02-data-layer-2.dat":  65 << 30,
	"sc-02-data-layer-3.dat":  65 << 30,
	"sc-02-data-layer-4.dat":  65 << 30,
	"sc-02-data-layer-5.dat":  65 << 30,
	"sc-02-data-layer-6.dat":  65 << 30,
	"sc-02-data-layer-7.dat":  65 << 30,
	"sc-02-data-layer-8.dat":  65 << 30,
	"sc-02-data-layer-9.dat":  65 << 30,
	"sc-02-data-layer-10.dat": 65 << 30,
	"sc-02-data-layer-11.dat": 65 << 30,

	"sc-02-data-tree-c-0.dat": 5 << 30,
	"sc-02-data-tree-c-1.dat": 5 << 30,
	"sc-02-data-tree-c-2.dat": 5 << 30,
	"sc-02-data-tree-c-3.dat": 5 << 30,
	"sc-02-data-tree-c-4.dat": 5 << 30,
	"sc-02-data-tree-c-5.dat": 5 << 30,
	"sc-02-data-tree-c-6.dat": 5 << 30,
	"sc-02-data-tree-c-7.dat": 5 << 30,

	"sc-02-data-tree-c-8.dat":  5 << 30,
	"sc-02-data-tree-c-9.dat":  5 << 30,
	"sc-02-data-tree-c-10.dat": 5 << 30,
	"sc-02-data-tree-c-11.dat": 5 << 30,
	"sc-02-data-tree-c-12.dat": 5 << 30,
	"sc-02-data-tree-c-13.dat": 5 << 30,
	"sc-02-data-tree-c-14.dat": 5 << 30,
	"sc-02-data-tree-c-15.dat": 5 << 30,

	"sc-02-data-tree-d.dat": 130 << 30,
}

Functions

func ExtractTar

func ExtractTar(body io.Reader, dir string, buf []byte) (int64, error)

func TarDirectory

func TarDirectory(dir string, w io.Writer, buf []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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