jj/lib
Aleksey Kuznetsov cd3d75ebf6 revset: introduce more performant way to check if a commit is in a revset
Initially we were thinking to have `Revset` return something like
`CachedRevset`:

```
pub trait CachedRevset {
  fn iter(&self) -> Box<dyn Iterator<Item = Commit>>;
  fn contains(&self, &CommitId) -> bool;
}
```

But we weren't sure what use case for `iter` would be, so we dropped the `iter`
method. `CachedRevset` with single `contains` method needed a better name. We
weren't able to come up with one, so we decided instead to have a method on
`Revset` that returns a closure to check if a commit is in a revset.
2024-03-11 08:27:35 +05:00
..
benches
gen-protos
proc-macros cargo: mark the jj-lib-proc-macros crate for publish 2024-03-06 20:35:38 -08:00
src revset: introduce more performant way to check if a commit is in a revset 2024-03-11 08:27:35 +05:00
tests revset: introduce more performant way to check if a commit is in a revset 2024-03-11 08:27:35 +05:00
testutils
Cargo.toml working_copy: implement symlinks on windows with a helper function 2024-03-05 15:16:38 +08:00
LICENSE