hslua-module-zip-1.1.3: Lua module to work with file zips.
Copyright© 2022-2024 Albert Krewinkel
LicenseMIT
MaintainerAlbert Krewinkel <tarleb@hslua.org>
Safe HaskellNone
LanguageHaskell2010

HsLua.Module.Zip

Description

Lua module to work with file zips.

Synopsis

Module

documentedModule :: LuaError e => Module e #

The zip module specification.

Zip archives

mkArchive :: LuaError e => DocumentedFunction e #

Wrapper for toArchive; converts a string into an Archive.

read_entry :: LuaError e => DocumentedFunction e #

Creates a new ZipEntry from a file; wraps readEntry.

zip :: LuaError e => DocumentedFunction e #

Creates a new Archive from a list of files.

archive methods

extract :: LuaError e => DocumentedFunction e #

Returns the raw binary string representation of the archive; wraps extractFilesFromArchive

bytestring :: LuaError e => DocumentedFunction e #

Returns the raw binary string representation of the archive.

Zip entry

typeEntry :: LuaError e => DocumentedType e Entry #

The Lua type for Entry objects.

entry methods

contents :: LuaError e => DocumentedFunction e #

Returns the uncompressed contents of a zip entry.

symlink :: LuaError e => DocumentedFunction e #

Returns the target if the Entry represents a symbolic link.

Zip Options