pub fn from_project(project: &Project) -> Roots {
        Roots {
            gc_root_path: project.gc_root_path.clone(),
            id: project.hash().to_string(),
        }
    }
// TODO: all use-cases are from_project; just save a reference to a project?
/// Construct a Roots struct based on a project's GC root directory
/// and ID.
all use-cases are from_project; just save a reference to a project.
Construct a Roots struct based on a project's GC root directory
and ID.
all use - cases are from_project ; just save a reference to a project . Construct a Roots struct based on a project ' s GC root directory and ID .
pub fn from_project(project: &Project) -> Roots {
        Roots {
            gc_root_path: project.gc_root_path.clone(),
            id: project.hash().to_string(),
        }
    }
pub fn from_project ( project : & Project ) -> Roots { Roots { gc_root_path : project . gc_root_path . clone ( ) , id : project . hash ( ) . to_string ( ) , } }
TODO: all use-cases are from_project; just save a reference to a project?
TODO : all use - cases are from_project ; just save a reference to a project?
project
&Project
project
&Project