| 13 | |
| 14 | #[derive(Debug, Serialize, Deserialize, Default)] |
| 15 | pub struct AnnotationData { |
| 16 | /// File definitions: rel_path -> definition string |
| 17 | #[serde(default)] |
| 18 | pub file_definitions: HashMap<String, String>, |
| 19 | /// File marks: rel_path -> list of mark strings |
| 20 | #[serde(default)] |
| 21 | pub file_marks: HashMap<String, Vec<String>>, |
| 22 | /// Symbol definitions: "file::name" -> definition string |
| 23 | #[serde(default)] |
| 24 | pub symbol_definitions: HashMap<String, String>, |
| 25 | } |
| 26 | |
| 27 | /// Save all annotations (file definitions, marks, symbol definitions) |
| 28 | /// to `.coderlm/annotations.json` in the project root. |
nothing calls this directly
no outgoing calls
no test coverage detected