ZipFS

package
v2.0.0-...-013e6d6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirEntry

type DirEntry struct {
	FileInfo
}

func (*DirEntry) Info

func (de *DirEntry) Info() (fs.FileInfo, error)

func (*DirEntry) IsDir

func (de *DirEntry) IsDir() bool

func (*DirEntry) Name

func (de *DirEntry) Name() string

func (*DirEntry) Type

func (de *DirEntry) Type() fs.FileMode

type FileInfo

type FileInfo struct {
	// contains filtered or unexported fields
}

func (FileInfo) IsDir

func (de FileInfo) IsDir() bool

func (FileInfo) IsRegular

func (de FileInfo) IsRegular() bool

func (FileInfo) ModTime

func (de FileInfo) ModTime() time.Time

func (FileInfo) Mode

func (de FileInfo) Mode() fs.FileMode

func (FileInfo) Name

func (de FileInfo) Name() string

func (FileInfo) Size

func (de FileInfo) Size() int64

func (FileInfo) Sys

func (de FileInfo) Sys() interface{}

func (FileInfo) Type

func (de FileInfo) Type() fs.FileMode

type ReaderAtCloser

type ReaderAtCloser interface {
	io.ReaderAt
	io.ReadCloser
}

type ZipFS

type ZipFS struct {
	// contains filtered or unexported fields
}

func NewZipFS

func NewZipFS(fsys fs.FS, path string) (*ZipFS, error)

func (*ZipFS) Close

func (zfs *ZipFS) Close() error

func (*ZipFS) Open

func (zfs *ZipFS) Open(path string) (fs.File, error)

func (*ZipFS) ReadDir

func (zfs *ZipFS) ReadDir(dir string) ([]fs.DirEntry, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL