MCPcopy Index your code
hub / github.com/GraphiteEditor/Graphite / annotate_delta

Method annotate_delta

document/document-format/src/persist.rs:153–158  ·  view source on GitHub ↗

Set a local annotation (e.g. a commit message) on an existing retired delta and re-persist it. Unlike the per-interaction marker written inline at retire, this targets an already-written delta, so the whole history file is rewritten in topological order. O(history) — fine for occasional user labeling, not for per-interaction marking (which uses the inline path). No-op if `rev` is unknown.

(&mut self, rev: Rev, key: &str, value: serde_json::Value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

rewrite_historyMethod · 0.80

Tested by

no test coverage detected