loro/crates/loro-internal
Zixuan Chen 8dcb619147
fix: raise error if perform action on a deleted container (#465)
- Add ContainerDeleted error variant to LoroError
- Implement is_deleted() method for container handlers
- Check for deleted containers before applying operations
- Add dead_containers_cache to DocState to track deleted containers
- Update apply_diff to optionally clear dead container cache
- Add tests for handling operations on deleted containers
- Implement checkout to reset container deleted cache
- Minor code cleanup and typo fixes
2024-09-17 12:09:20 +08:00
..
benches feat: add old parent and old index in tree diff (#452) 2024-09-09 16:16:02 +08:00
docs refactor: add diff mode 2024-08-06 17:10:51 +08:00
examples feat: add old parent and old index in tree diff (#452) 2024-09-09 16:16:02 +08:00
fuzz Merge branch 'main' into dev 2024-08-28 23:33:44 +08:00
proptest-regressions/dag
scripts
src fix: raise error if perform action on a deleted container (#465) 2024-09-17 12:09:20 +08:00
tests fix: raise error if importing updates that dep on trimmed history (#457) 2024-09-11 22:54:39 +08:00
.gitignore
Cargo.toml Fix a tree checkout issue on GcSnapshot (#464) 2024-09-17 00:19:29 +08:00
deno.json refactor: provide better encapsulation for dag 2024-08-16 11:40:29 +08:00
deno.lock
Encoding.md
README.md

loro-internal

This is the internal implementation of Loro. Its interface subject to change. You should not use it as dependency directly. Consider use loro crate instead.