Documentation
¶
Overview ¶
Package zipfile reads & parses zip archives
outline: zipfile
zipfile reads & parses zip archives
path: zipfile
functions:
new(data) -> ZipFile
opens an archive for reading
types:
ZipFile
a zip archive object
methods:
namelist() list
return a list of files in the archive
open(filename string) -> ZipInfo
open a file for reading
params:
filename string
name of the file in the archive to open
ZipInfo
methods:
read() string
read the file, returning it's string representation
Index ¶
Constants ¶
View Source
const ModuleName = "zipfile.star"
View Source
const Name = "zipfile"
Variables ¶
View Source
var Module = &starlarkstruct.Module{ Name: "zipfile", Members: starlark.StringDict{ "new": localctx.AddBuiltin("zipfile.new", newZipFile), }, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.