usecrate::core::app::Page;usecrate::core::config::Config;usecrate::files::state::FilesState;useanyhow::Result;usestd::path::Path;/// Create the Files page rooted at `root` (the repository working directory).
pubfnnew_page(root:&Path, cfg:&Config)->Result<Page>{Ok(Page::new(FilesState::new(root, cfg)?))}