Module utils

Source
Available on crate feature utils only.
Expand description

Defines memory_map to read decompressed MediaWiki SQL files, and NamespaceMap to display a page title prefixed by its namespace name.

Structs§

Error
The error type used by memory_map and NamespaceMap.
Mmap
A handle to an immutable memory mapped buffer.
NamespaceMap
Title
Represents a MediaWiki title. A title can be broken down into the following attributes: [[interwiki:ns:db_key#fragment]].

Traits§

NamespaceMapExt

Functions§

memory_map
Memory-maps a file, returning a useful message in case of error.