jj/lib
Martin von Zweigbergk 6b5544f335 tree_builder: add a set_or_remove() and simplify callers
Many of the `TreeBuilder` users have an `Option<TreeValue>` and call
either `set()` or `remove()` or the builder depending on whether the
value is present. Let's centralize this logic in a new
`TreeBuilder::set_or_remove()`.
2023-08-24 06:08:25 -07:00
..
benches cargo: rename crates from jujutsu/jujutsu-lib to jj-cli/jj-lib 2023-07-09 06:40:43 +02:00
gen-protos Use { workspace = true } to appease VS Code's Cargo.toml parser 2023-08-22 21:38:53 -07:00
src tree_builder: add a set_or_remove() and simplify callers 2023-08-24 06:08:25 -07:00
tests cleanup: replace x[n..n+l] by x[n..][..l] 2023-08-21 22:29:46 -07:00
testutils Use { workspace = true } to appease VS Code's Cargo.toml parser 2023-08-22 21:38:53 -07:00
Cargo.toml Use { workspace = true } to appease VS Code's Cargo.toml parser 2023-08-22 21:38:53 -07:00