Expand description
Parsing code for v1 of the WEBC format.
Structs
- Calculated checksum of the file
- The error type used within the read module.
- Directory or file entry, parsed without any allocation
- Owned version of the
FsEntrywithfs_type = FsEntryType::Dir - Owned version of the
FsEntrywithfs_type = FsEntryType::File - Options on what to parse from the file
- Signature of the checksum of the file, such that
verify(WebC::get_checksum(), public_key)is valid - Filesystem volume, containing the uncompressed files in an ordered directory structure
- Header of a filesystem volume, describing a serialized list of directories and file paths
- Iterator over the paths in the file, yields PathBufs until all files in the volume have been listed.
- Container file, lazily parsed from a set of
&'data [u8]bytes - Memory-mapped version of the WebC file that carries its data along the parsed
WebC<'static> - Owned version of the WebC file that carries its data along the parsed
WebC<'static>
Enums
- Specifies whether an input path is a directory or a file (since this distinction can’t be made from the filename alone)
- Whether the file is a directory or a file
- Whether to sign the bytes when deserializing the WebC file to bytes
- Same as
FsEntrybut with an ownedtext: String, instead of a&str - Information about the package name
Functions
- Since
env::temp_dir()panics on wasm32-wasi, this function provides a non-panicking replacement
Type Definitions
- The result type used within the read module.