Module goblin::archive
[−]
[src]
Implements a simple parser and extractor for a Unix Archive.
There are two "common" formats: BSD and SysV
This crate currently only implements the SysV version, which essentially postfixes all names in the archive with a / as a sigil for the end of the name, and uses a special symbol index for looking up symbols faster.
Reexports
pub use super::error; |
Structs
Archive |
An in-memory representation of a parsed Unix Archive |
Header |
A Unix Archive Header - meta data for the file/byte blob/whatever that follows exactly after.
All data is right-padded with spaces ASCII |
Index |
The special index member signified by the name |
Member |
Represents a single entry in the archive |
Constants
MAGIC |
The magic number of a Unix Archive |
SIZEOF_HEADER | |
SIZEOF_MAGIC |
Functions
wow_so_meta_doge_symbol |
Wow. So Meta. Such symbols. Actually just an unmangled, external symbol used for unit testing itself. Call it. I dare you. |