Skip to main content

code_map_tree_digest

Function code_map_tree_digest 

Source
pub fn code_map_tree_digest(files: &[(String, String)]) -> String
Expand description

The code map of a tree: one line per scoped file under it, <file digest hash> <path>, in path order — hashed by the caller through prepared_content_hash. A file joining, leaving, or changing its interface changes the tree’s map; an implementation edit does not.