zipfs

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateFSFunc

func NewCreateFSFunc(logger zLogger.ZLogger) writefs.CreateFSFunc

func NewDirFile

func NewDirFile(zfs *zipFS, folder string) *dirFile

func NewFS

func NewFS(r io.ReaderAt, size int64, name string, logger zLogger.ZLogger) (fs *zipFS, err error)

NewFS creates a new fs.FS from a readerAt and size it implements fs.FS, fs.ReadDirFS, fs.ReadFileFS, fs.StatFS, fs.SubFS, basefs.IsLockedFS

func NewFSFile

func NewFSFile(baseFS fs.FS, path string, logger zLogger.ZLogger) (*fsFile, error)

func NewFile

func NewFile[E io.Reader](info fs.FileInfo, rc E, mutex *writefs.Mutex, closeFunc func()) fs.File

Types

type OpenRawZipCloserFS

type OpenRawZipCloserFS interface {
	OpenRawZipFS
	io.Closer
}

type OpenRawZipFS

type OpenRawZipFS interface {
	fs.FS
	OpenRaw(name string) (fs.File, *zip.FileHeader, error)
	GetZipReader() *zip.Reader
}

Jump to

Keyboard shortcuts

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