Documentation ¶
Overview ¶
Package zip defines a VFS implementation that understands a zip archive as an isolated, read-only file system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
FS implements the vfs.Reader interface for zip archives.
func Open ¶
func Open(r io.ReadSeeker) (FS, error)
Open returns a read-only virtual file system (vfs.Reader), using the contents a zip archive read with r.
func (FS) Glob ¶
Glob implements part of vfs.Reader using filepath.Match to compare the glob pattern to each archive path.
Click to show internal directories.
Click to hide internal directories.