Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownBundleArchiveExt = errors.New("unknown bundle archive extension")
Functions ¶
This section is empty.
Types ¶
type ArchiveExt ¶
type ArchiveExt string
const ( ExtZip ArchiveExt = "zip" ExtTarGz ArchiveExt = "tar.gz" )
type Bundle ¶
type DirectoryBundle ¶
type DirectoryBundle struct {
// contains filtered or unexported fields
}
func NewDirectoryBundle ¶
func NewDirectoryBundle(baseDir string) *DirectoryBundle
func (*DirectoryBundle) File ¶
func (b *DirectoryBundle) File(filename string) (io.ReadCloser, os.FileInfo, error)
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
func NewFileSystem ¶
func NewFileSystem(prefix string, bundle Bundle) *FileSystem
type TarBundle ¶
type TarBundle struct {
// contains filtered or unexported fields
}
func NewTarBundle ¶
type ZipBundle ¶
type ZipBundle struct {
// contains filtered or unexported fields
}
func NewZipBundle ¶
Click to show internal directories.
Click to hide internal directories.