pub async fn stats_dir(path: &str) -> Result<String, AppError>
Compute code statistics for path (file or directory).
path