ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Yuya Nishihara 6ce7bd5338 repo_path: replace .contains() with .starts_with(), flipping the arguments
self.contains(other) means that the self tree contains the other tree (i.e.
the self path is prefix of the other), but it could be confused the other way
around if we were thinking about the path literal, not the tree. Let's add
.starts_with() instead by copying the std::path::Path definition.
2023-11-29 08:41:23 +09:00
..
benches
gen-protos
src repo_path: replace .contains() with .starts_with(), flipping the arguments 2023-11-29 08:41:23 +09:00
tests repo_path: split RepoPath into owned and borrowed types 2023-11-28 07:33:28 +09:00
testutils repo_path: split RepoPath into owned and borrowed types 2023-11-28 07:33:28 +09:00
Cargo.toml cargo: add ref-cast dependency 2023-11-26 18:21:40 +09:00
LICENSE