Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyToFile ¶
Types ¶
type ErrWritingHeader ¶
type ErrWritingHeader struct {
// contains filtered or unexported fields
}
func (ErrWritingHeader) Error ¶
func (e ErrWritingHeader) Error() string
type File ¶
type File struct {
// contains filtered or unexported fields
}
File represents an on-disk file that can be written by a *tar.Writer, possibly as a different name, to a tar archive
func FilesFromRoot ¶
func NewFile ¶
NewFile creates a new File struct that points to the file at path on disk. It will be written as name to a tar archive on subsequent successful calls to Write
Click to show internal directories.
Click to hide internal directories.