pub fn analyze_project(path: &Path) -> Result<ProjectAnalysis>Expand description
Analyzes a project directory to detect languages, frameworks, and dependencies.
§Arguments
path- The root directory of the project to analyze
§Returns
A ProjectAnalysis containing detected components or an error
§Examples
use syncable_cli::analyzer::analyze_project;
use std::path::Path;
let analysis = analyze_project(Path::new("./my-project"))?;
println!("Languages: {:?}", analysis.languages);