ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/src
Martin von Zweigbergk 85773cf81f stacked_table: add a generic store based on the stacked-table format
The new store works the same way as the `OpHeadsStore`. It keeps track
of the current head file(s) by recording their names in a
directory. When a write happens, it adds the new head and then removes
the old head. There will be generally be a single head at a time. The
only exception is when there's been concurrent operations (locally, or
remotely, in the case of a distributed file system). When there are
multiple heads files, they are automatically merged. No guarantee is
given about which value wins if the key exists in several heads; the
store is meant to be used for data that's immutable once written. As
long as different keys are written, this is a CRDT. That makes it fit
for solving both #3 and #7.
2021-10-20 13:21:12 -07:00
..
backend.rs backend: remove unused Commit::is_pruned (#32) 2021-10-06 23:53:15 -07:00
commit.rs backend: remove unused Commit::is_pruned (#32) 2021-10-06 23:53:15 -07:00
commit_builder.rs backend: remove unused Commit::is_pruned (#32) 2021-10-06 23:53:15 -07:00
conflicts.rs conflicts: work around rust-lang/rust#89716 2021-10-13 13:41:09 -07:00
dag_walk.rs
diff.rs diff: compact adjacent unchanged regions also when using for_tokenizer() 2021-10-10 00:00:06 -07:00
file_util.rs
files.rs conflicts: work around rust-lang/rust#89716 2021-10-13 13:41:09 -07:00
git.rs git: add support for password-less SSH keys 2021-10-09 09:44:57 -07:00
git_backend.rs store: move logic for initialization of GitBackend to that type 2021-10-18 08:49:22 -07:00
gitignore.rs
index.rs index: remove predecessor information from the index 2021-10-17 09:13:31 -07:00
index_store.rs index: transparently reindex if the index is corrupt 2021-10-17 09:13:31 -07:00
lib.rs stacked_table: add a file format for stacked, sorted tables 2021-10-20 13:19:32 -07:00
local_backend.rs backend: remove unused Commit::is_pruned (#32) 2021-10-06 23:53:15 -07:00
lock.rs
matchers.rs
op_heads_store.rs
op_store.rs cleanup: fix issues found by latest rustc and clippy 2021-09-29 10:12:38 -07:00
operation.rs
protos.rs
refs.rs
repo.rs repo: fix crash on upgrade of repo backed by external Git repo 2021-10-14 16:41:57 -07:00
repo_path.rs
revset.pest
revset.rs revset: make head() accept candidate set to find heads within 2021-10-13 09:41:20 -07:00
revset_graph_iterator.rs
rewrite.rs DescendantRebaser: also remove old heads 2021-10-06 22:01:39 -07:00
settings.rs cleanup: fix issues found by latest rustc and clippy 2021-09-29 10:12:38 -07:00
simple_op_store.rs cleanup: let newer Clippy fix a few things it found 2021-10-13 08:27:44 -07:00
stacked_table.rs stacked_table: add a generic store based on the stacked-table format 2021-10-20 13:21:12 -07:00
store.rs store: move logic for initialization of GitBackend to that type 2021-10-18 08:49:22 -07:00
testutils.rs tests: move assert_rebased() function to testutils 2021-09-29 11:41:51 -07:00
transaction.rs evolution: delete it now that we don't use it anymore (#32) 2021-10-06 23:28:30 -07:00
tree.rs store: remove (weak) self-reference and take &Arc<Self> arguments instead 2021-09-16 23:30:30 -07:00
tree_builder.rs
view.rs
working_copy.rs