Skip to main content

render_map

Function render_map 

Source
pub fn render_map(m: &RepoMap) -> String
Expand description

Render a RepoMap as the digest an assistant reads: at most MAX_MAP_LINES lines, byte-identical for the same map.

Every value that came out of the graph is sanitized again here, so the output is safe whether or not the map was built by repo_map.