Skip to main content

Module members

Module members 

Source
Expand description

Files that hold several tables: a SQLite database’s tables and views, a NumPy archive’s arrays.

Each table has a path inside its file (shop.db/orders, run.npz/weights) that nothing on disk has. The home screen lists a file of several as a place whose rows are its tables, recents record a table by that path, and --table names one. A file of one table opens it.

Re-exports§

pub use crate::sqlite::Pick;
pub use crate::sqlite::Table;

Structs§

Opened
What a reader that decodes its table from the file found, carried from the scan to the dataset: a window read straight from the file, its row count, its Info panel tab, its other tables, notes and units.

Functions§

holder
The format of a file that can hold several tables, by its first bytes (and, for a NumPy archive, its name: a zip file is many things).
others
The other tables of a file, each as --table names it, for the Info panel.
pick
The table wanted names among tables, or the file’s one table of its own when nothing is named. display names the file in errors, and empty what to say of a file of none.
place
The path of the table name inside file, as the home screen lists it and recents record it: shop.db/orders. The name is appended as it is, so a name that looks like a path (/etc, a/../b) stays inside the file and reads back whole.
split
The file and the table a path inside a file of tables names, the inverse of place: shop.db/orders is the table orders of shop.db, and shop.db/a/b the table a/b. None for a path that is there, or that is inside no such file.
split_variant
The file and the variant a path inside a file of a format spec’s variants names: day.itch/add is the variant add of day.itch, as the spec writes it. None for a path that is there, inside no such file, or naming no variant of it.
tables
The tables of file, a file of format, as the home screen lists them. Cheap: a database’s schema, an archive’s directory and its arrays’ headers.
variant_tables
The variants spec reads records as, each a table with its columns, from the spec alone.
variants
The variants of the records of file, as the format spec whose glob names it reads them, each a table: the spec’s name, and its variants with their columns. None unless the spec reads several. Its name is all that is read.