Module parse_mediawiki_sql::utils[][src]

This is supported 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

Mmap

A handle to an immutable memory mapped buffer.

NamespaceMap

Provides a way to convert a namespace and title from page.sql to the title displayed on the wiki page.

Enums

Error

The error type used by memory_map and NamespaceMap.

Functions

memory_map

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