generate_dc_code

Function generate_dc_code 

Source
pub fn generate_dc_code(graph_dir: &Path) -> Result<String, Error>
Expand description

Generates the contents of dc.generated.rs from the system graph in graph_dir.

ยงErrors

Returns an error if graph_dir cannot be read or contains invalid data.