diff options
| author | tv <tv@krebsco.de> | 2026-11-02 11:13:24 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-02 11:13:24 +0100 |
| commit | 99b10401ea70a016c7f3e23dbcd1149e6d56e008 (patch) | |
| tree | f02ddf6571c55b4fbfe6508f0247fabb1d4c8888 /src/transport/mod.rs | |
| parent | a7b8b4d6543c4c780334df1c823d2e2f10d9e1bf (diff) | |
api: /admin/changes read ops, not diffs
The new store::changed_by reads each change's own operations instead of
diffing the document before and after it. Each object's path is found
once per change, as it was right after that change. So the cost now
grows with the size of the change, not the size of the map it touched.
- It names paths the same way the diff did: a map entry by its key, and
list and text edits by the list or text.
- It relies on import_obj, which Automerge marks as hidden from its
docs, to turn an operation's object ID back into an object.
Diffstat (limited to 'src/transport/mod.rs')
0 files changed, 0 insertions, 0 deletions
