({ local_repo_path, modules, log }: LocalRepoLoadOptions & { local_repo_path: LocalRepoPath; }): Promise<LocalRepo> import {local_repo_load} from '@fuzdev/fuz_repos/local_repo.js'; Loads a resolved repo as its working tree sits (the tasks read where each
repo sits from repos status, and repos sync moves them). Moves no ref.
- Loads
library_json, with the module analysis or without it (modules) - Creates
Libraryand extracts dependency maps
A repo with no package.json but a Rust Cargo.toml loads as a
dashboard-only cargo repo instead.
__0
LocalRepoLoadOptions & { local_repo_path: LocalRepoPath; }returns
Promise<LocalRepo>
throws
TaskError- if the `package.json` or the analysis fails