Skip to main content

parse

Function parse 

Source
pub fn parse(root: impl AsRef<Path>) -> Result<Workspace>
Expand description

Parse a workspace with all defaults. Convenience over Parser::builder when you don’t need to tune anything.

let workspace = tfparser_core::parse("./my-tf-repo")?;

§Errors

Same as Parser::parse.