mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-07 05:16:33 +00:00
309a3f91a1
The implementation has some hoops to jump through because Rust does not allow `self: &Arc<Self>` on trait methods, and two of the OpHeadsStore functions need to return cloned selves. This is worked around by making the implementation type itself a wrapper around Arc<>. This is not particularly note worthy for the current implementation type where the only data copied is a PathBuf, but for extensions it is likely to be more critical that the lifetime management of the OpHeadsStore is properly maintained. |
||
---|---|---|
.. | ||
src | ||
tests | ||
testutils | ||
build.rs | ||
Cargo.toml |