Documentation ¶
Index ¶
- func AddFile(tw *tar.Writer, filename string, filemode int64, content []byte) error
- func CopyFile(tw *tar.Writer, path, filename string, filemode int64) error
- func CopyFileTree(tw *tar.Writer, dst, src string, excludes []string, followLinks bool) error
- func ExtractFiles(extractDir string, r io.Reader) error
- func PrepareRepo(content io.Reader, zip bool) (repodir string, err error)
- func ReadFile(path, name string) ([]byte, error)
- func ReadManifest(path string) (*manifest.Plugin, error)
- type InvalidArchiveError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFileTree ¶
Types ¶
type InvalidArchiveError ¶
type InvalidArchiveError string
func (InvalidArchiveError) Error ¶
func (e InvalidArchiveError) Error() string
Click to show internal directories.
Click to hide internal directories.