Expand description
Project-local docs materialization + the ask list view. Rust port of
packages/cli/src/storage.ts.
save_docs writes (or links/refs) the fetched docs under
.ask/docs/<name>@<version>/; list_docs joins ask.json (intent) with
.ask/resolved.json (last materialization) for ask list.
Re-exports§
pub use crate::ask_json::StoreMode;
Structs§
- List
Docs Entry - One
ask listrow, joined fromask.json+.ask/resolved.json. Entries declared but never installed surface asversion: "unresolved". - Save
Docs Options - Options for
save_docs.
Enums§
- List
Source - Source classification for a list entry.
Functions§
- get_
docs_ dir - get_
library_ docs_ dir - list_
docs - remove_
docs - Remove project-local docs for
name(all versions whenversionisNone). - save_
docs - Materialize docs into the project. Returns the path AGENTS.md should point at.