Commit graph

379 commits

Author SHA1 Message Date
Josh Hansen
288648130c Deref some &bool's 2023-08-25 11:23:07 -07:00
Josh Hansen
dae916bb56 Re-use loaded field values when outputting raw bytes 2023-08-24 16:44:50 -07:00
Josh Hansen
9cb9f67f62 Roadmap work 2023-08-24 16:39:17 -07:00
Josh Hansen
df86a1d8cc After a fresh sh install.sh, set the example output in its true order 2023-08-24 16:38:33 -07:00
Josh Hansen
574b9de77b Decruft 2023-08-24 16:37:19 -07:00
Josh Hansen
a9f4f19400 Remove Hash impls 2023-08-24 16:35:49 -07:00
Josh Hansen
4e6b4471cd Stabilize output order by replacing HashMap with BTreeMap 2023-08-24 16:16:22 -07:00
Josh Hansen
e985456c29 Re-use xattr values already loaded 2023-08-24 15:58:52 -07:00
Josh Hansen
74504c90d3 Corrected example_output 2023-08-24 15:56:28 -07:00
Josh Hansen
38a585f3d4 Output of example.sh 2023-08-24 15:55:43 -07:00
Josh Hansen
90be81132b Avoid needless clone 2023-08-24 15:49:55 -07:00
Josh Hansen
3064935485 Extract best_index 2023-08-24 15:47:56 -07:00
Josh Hansen
1fa1c9bd5d Only load xattr values if not already available 2023-08-24 15:47:40 -07:00
Josh Hansen
97946c6cdd Extract walk_records, indices, xattr_values_from_path 2023-08-23 23:09:12 -07:00
Josh Hansen
1bfc9804f6 Risky untested simplification of get
TODO test `get`
2023-08-23 14:45:51 -07:00
Josh Hansen
27ef1179ce Roadmap update 2023-08-23 14:44:50 -07:00
Josh Hansen
9ded812a40 Update example.sh to include del 2023-08-23 14:43:00 -07:00
Josh Hansen
f2008e628b Make sure all predicates are satisfied before deleting; tests passing 2023-08-23 14:41:42 -07:00
Josh Hansen
f6071ad935 Test del in presence of a not-to-be-deleted record; failures with predicates 2023-08-23 14:22:10 -07:00
Josh Hansen
506cac8584 Implement del by predicate, tests now passing 2023-08-23 14:15:45 -07:00
Josh Hansen
14bae84760 Successful tests of over- and under-constrained del 2023-08-22 17:41:52 -07:00
Josh Hansen
ebadc89dd1 Failing tets of del predicate mode 2023-08-22 17:37:47 -07:00
Josh Hansen
7ad5563c12 Introduce del implemented only for default keys; includes tests 2023-08-22 17:29:46 -07:00
Josh Hansen
26d777e483 Design 2023-08-22 17:28:58 -07:00
Josh Hansen
2985c39de2 Roadmap work 2023-08-22 14:02:47 -07:00
Josh Hansen
6d977218a2 Remove printlns 2023-08-22 13:45:15 -07:00
Josh Hansen
b6cecba5a0 Test compound keys on ins 2023-08-22 13:38:38 -07:00
Josh Hansen
fd13609285 Ensure the hard link directory exists 2023-08-22 13:36:34 -07:00
Josh Hansen
a60bbb99ba Load more people in the example script 2023-08-22 13:36:21 -07:00
Josh Hansen
1095dfc950 Fully test ins 2023-08-22 13:21:37 -07:00
Josh Hansen
2cc0cc4325 Get ins to run 2023-08-22 13:11:04 -07:00
Josh Hansen
2611d0a21c Get tests passing 2023-08-21 21:49:54 -07:00
Josh Hansen
252fe2aaa2 Implement ins, with test failures, and lack of tests 2023-08-21 15:23:38 -07:00
Josh Hansen
c6e76083c0 Tee up creation of the ins command 2023-08-20 09:50:06 -07:00
Josh Hansen
4e1981c493 Extract ur-command cp_or_mv 2023-08-19 21:56:42 -07:00
Josh Hansen
299a0e7ad4 Extract cmd rs 2023-08-19 21:53:42 -07:00
Josh Hansen
ecfac68e04 Extract cmd ls 2023-08-19 21:48:29 -07:00
Josh Hansen
b644b448a3 Extract cmd get 2023-08-19 21:45:16 -07:00
Josh Hansen
46a0200aa9 Add fallback Bytes variant to Value; makes example.sh work again 2023-08-19 21:29:04 -07:00
Josh Hansen
87952e8ef5 Add ghee init to example.sh 2023-08-19 19:13:20 -07:00
Josh Hansen
661a8e5c51 &bool -> bool 2023-08-19 19:13:10 -07:00
Josh Hansen
8e2f206186 Remove eprintlns 2023-08-19 19:12:54 -07:00
Josh Hansen
790f7ed8de Key from iterator of strings 2023-08-19 15:07:58 -07:00
Josh Hansen
418cbfa2af Bug fix in parse_xattr; idx test passing 2023-08-19 14:43:33 -07:00
Josh Hansen
8732696dea Robustness / testing work 2023-08-18 23:53:43 -07:00
Josh Hansen
f280f71095 Unify setting of keys; test idx (not yet passing) 2023-08-18 21:22:16 -07:00
Josh Hansen
50ac78aba1 Extract init cmd 2023-08-18 17:57:12 -07:00
Josh Hansen
f43d69a48c Distinct Key type; anyhow error handling; Namespace enum; push_index_list 2023-08-18 17:51:34 -07:00
Josh Hansen
00f3d0a4f8 Somehow get tests passing 2023-08-17 00:18:21 -07:00
Josh Hansen
ab783292d5 Minimize the key string 2023-08-16 17:19:24 -07:00