Documentation ¶
Index ¶
- func ListSupported() []string
- func RegisterArchiver(name string, ar Archiver) error
- type AlreadyExistsError
- type Archiver
- type DoesNotExistError
- type FileMode
- func (fm *FileMode) HasSetGID() bool
- func (fm *FileMode) HasSetUID() bool
- func (fm *FileMode) HasSticky() bool
- func (fm *FileMode) IsBlockDevice() bool
- func (fm *FileMode) IsCharDevice() bool
- func (fm *FileMode) IsNamedPipe() bool
- func (fm *FileMode) IsSocket() bool
- func (fm *FileMode) IsSymlink() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListSupported ¶
func ListSupported() []string
func RegisterArchiver ¶
Types ¶
type AlreadyExistsError ¶
type AlreadyExistsError string
func (AlreadyExistsError) Error ¶
func (e AlreadyExistsError) Error() string
type Archiver ¶
type Archiver interface { Pack(src string, target io.Writer) error Unpack(src io.Reader, target string) error }
Archiver interface may be altered for Unpack to take a writer intsted of a string
func GetArchiver ¶
type DoesNotExistError ¶
type DoesNotExistError string
func (DoesNotExistError) Error ¶
func (e DoesNotExistError) Error() string
type FileMode ¶
FileMode wraps an os.FileMode
func (*FileMode) IsBlockDevice ¶
IsBlockDevice returns true if file is a block device
func (*FileMode) IsCharDevice ¶
IsCharDevice returns true if file is a charachter device
func (*FileMode) IsNamedPipe ¶
IsNamedPipe returns true if file is a named pipe
Click to show internal directories.
Click to hide internal directories.