Documentation
¶
Index ¶
- func DecodeZipName(hdr *zip.FileHeader) string
- type ArchivePlugin
- type ArchiveProvider
- type ArchiveVFS
- func (v *ArchiveVFS) Abs(p string) (string, error)
- func (v *ArchiveVFS) Base(p string) string
- func (v *ArchiveVFS) Clone() vfs.VFS
- func (v *ArchiveVFS) Close() error
- func (v *ArchiveVFS) Create(ctx context.Context, path string) (io.WriteCloser, error)
- func (v *ArchiveVFS) Dir(p string) string
- func (v *ArchiveVFS) GetCapabilities() vfs.VFSCapabilities
- func (v *ArchiveVFS) GetPath() string
- func (v *ArchiveVFS) IsAtRoot() bool
- func (v *ArchiveVFS) Join(e ...string) string
- func (v *ArchiveVFS) MkDir(ctx context.Context, path string) error
- func (v *ArchiveVFS) Open(ctx context.Context, path string) (vfs.ReadAtCloser, error)
- func (v *ArchiveVFS) ParentVFS() vfs.VFS
- func (v *ArchiveVFS) ReadDir(ctx context.Context, path string, onChunk func([]vfs.VFSItem)) error
- func (v *ArchiveVFS) Remove(ctx context.Context, path string) error
- func (v *ArchiveVFS) Rename(ctx context.Context, o, n string) error
- func (v *ArchiveVFS) Search(ctx context.Context, p, pat string) (chan int64, error)
- func (v *ArchiveVFS) SetAttributes(ctx context.Context, path string, item vfs.VFSItem) error
- func (v *ArchiveVFS) SetPath(path string) error
- func (v *ArchiveVFS) Stat(ctx context.Context, path string) (vfs.VFSItem, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeZipName ¶
func DecodeZipName(hdr *zip.FileHeader) string
Types ¶
type ArchivePlugin ¶
type ArchivePlugin struct{}
func (*ArchivePlugin) Close ¶
func (p *ArchivePlugin) Close() error
func (*ArchivePlugin) GetName ¶
func (p *ArchivePlugin) GetName() string
type ArchiveProvider ¶
type ArchiveProvider struct{}
func (*ArchiveProvider) Name ¶
func (p *ArchiveProvider) Name() string
func (*ArchiveProvider) Priority ¶
func (p *ArchiveProvider) Priority() int
type ArchiveVFS ¶
type ArchiveVFS struct {
// contains filtered or unexported fields
}
func NewArchiveVFS ¶
func NewArchiveVFS(parent vfs.VFS, path string) (*ArchiveVFS, error)
func (*ArchiveVFS) Base ¶
func (v *ArchiveVFS) Base(p string) string
func (*ArchiveVFS) Clone ¶
func (v *ArchiveVFS) Clone() vfs.VFS
func (*ArchiveVFS) Close ¶
func (v *ArchiveVFS) Close() error
func (*ArchiveVFS) Create ¶
func (v *ArchiveVFS) Create(ctx context.Context, path string) (io.WriteCloser, error)
func (*ArchiveVFS) Dir ¶
func (v *ArchiveVFS) Dir(p string) string
func (*ArchiveVFS) GetCapabilities ¶
func (v *ArchiveVFS) GetCapabilities() vfs.VFSCapabilities
func (*ArchiveVFS) GetPath ¶
func (v *ArchiveVFS) GetPath() string
func (*ArchiveVFS) IsAtRoot ¶
func (v *ArchiveVFS) IsAtRoot() bool
func (*ArchiveVFS) Join ¶
func (v *ArchiveVFS) Join(e ...string) string
func (*ArchiveVFS) Open ¶
func (v *ArchiveVFS) Open(ctx context.Context, path string) (vfs.ReadAtCloser, error)
func (*ArchiveVFS) ParentVFS ¶
func (v *ArchiveVFS) ParentVFS() vfs.VFS
func (*ArchiveVFS) SetAttributes ¶
func (*ArchiveVFS) SetPath ¶
func (v *ArchiveVFS) SetPath(path string) error
Click to show internal directories.
Click to hide internal directories.