Function docchi::fs::history::calc_filename[][src]

pub fn calc_filename(
    tag: Option<&str>,
    control: u32,
    prev_ctl: Option<u32>,
    order: &[u32]
) -> String
Expand description

History’s filenames have a tag(arbitrary string given by user) control number(increases when start_new is called) order( numbers ancestors of this history file have. if order is (1,2,1,1) ancestors have orders (1)<- grand grandparent (1,2)<- grand parent (1,2,1)<- parent )