| Copyright | © 2022-2023 Albert Krewinkel |
|---|---|
| License | MIT |
| Maintainer | Albert Krewinkel <tarleb@hslua.org> |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
HsLua.Module.Zip
Description
Lua module to work with file zips.
Synopsis
- documentedModule :: forall e. LuaError e => Module e
- typeArchive :: forall e. LuaError e => DocumentedType e Archive
- mkArchive :: forall e. LuaError e => DocumentedFunction e
- read_entry :: LuaError e => DocumentedFunction e
- zip :: LuaError e => DocumentedFunction e
- extract :: LuaError e => DocumentedFunction e
- bytestring :: LuaError e => DocumentedFunction e
- typeEntry :: forall e. LuaError e => DocumentedType e Entry
- peekEntryFuzzy :: LuaError e => Peeker e Entry
- contents :: LuaError e => DocumentedFunction e
- peekZipOptions :: LuaError e => Peeker e [ZipOption]
Module
documentedModule :: forall e. LuaError e => Module e Source #
The zip module specification.
Zip archives
typeArchive :: forall e. LuaError e => DocumentedType e Archive Source #
The Lua Archive type
mkArchive :: forall e. LuaError e => DocumentedFunction e Source #
Wrapper for toArchive; converts a string into an Archive.
read_entry :: LuaError e => DocumentedFunction e Source #
Creates a new ZipEntry from a file; wraps readEntry.
archive methods
extract :: LuaError e => DocumentedFunction e Source #
Returns the raw binary string representation of the archive;
wraps extractFilesFromArchive
bytestring :: LuaError e => DocumentedFunction e Source #
Returns the raw binary string representation of the archive.
Zip entry
entry methods
contents :: LuaError e => DocumentedFunction e Source #
Returns the uncompressed contents of a zip entry.