MCPcopy Create free account
hub / github.com/JaredStewart/coderlm / AnnotationData

Class AnnotationData

server/src/ops/annotations.rs:15–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14#[derive(Debug, Serialize, Deserialize, Default)]
15pub 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected