Skip to main content

set_table

Function set_table 

Source
pub fn set_table(
    path: &Path,
    table: &str,
    keys: &[(String, Option<Vec<String>>)],
    remove: &[&str],
) -> Result<(), String>
Expand description

A table’s keys written at once, each a list of words (Some) or taken out (None), the table kept even empty (it says it was written); and remove, keys or tables taken out (“reach”, “pause.doses”): one write, the comments kept (attention’s rows, the older keys they replace).