Documentation
¶
Index ¶
- Constants
- Variables
- type Arch
- func (v *Arch) Close() error
- func (v *Arch) Export(filename, dir string) error
- func (v *Arch) Import(filename string, perm fs.FileMode) error
- func (v *Arch) List() []Header
- func (v *Arch) Read(filename string, w io.Writer) error
- func (v *Arch) Write(filename string, b []byte, perm fs.FileMode) error
- type Header
Constants ¶
View Source
const HEAD_SIZE int = 60
HEAD_SIZE default size for meta data of contained files
Variables ¶
View Source
var ( ErrTooLongValue = errors.New("too long value") ErrUnsupportedValue = errors.New("unsupported value") ErrInvalidParseValue = errors.New("parsing error") ErrInvalidFileFormat = errors.New("invalid file format") ErrFileNotFound = errors.New("file not found") ErrFileExist = errors.New("file already exist") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.