usestd::{cell::RefCell,path::PathBuf,rc::Rc};/// Variant to tell which action was executed
pubenumHistoryAction{/// Path to the file created
CreateFile(PathBuf),/// Path to the file modified and insertion point string
ModifyFile(PathBuf,String),/// Path to the directory created
CreateDirectory(PathBuf),}/// Ordered list of actions on the file system
pubtypeHistory=Vec<HistoryAction>;/// Mutable reference
pubtypeHistoryRef=Rc<RefCell<History>>;