Josh Hansen
|
39180fe6b6
|
Generalize walk_records to allow non-initialized directories and bare files
|
2023-08-25 11:24:25 -07:00 |
|
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
|
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
|
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
|
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
|
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
|
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
|
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 |
|
Josh Hansen
|
c3773fd954
|
Custom ser/de for Xattr
|
2023-08-16 17:11:16 -07:00 |
|
Josh Hansen
|
d4fc4d14e1
|
Use String rather than Vec<u8> as we already restrict to UTF-8
|
2023-08-16 16:55:20 -07:00 |
|
Josh Hansen
|
4fdf4bbd7e
|
Only put quotes around string values when necessary
|
2023-08-16 16:27:24 -07:00 |
|
Josh Hansen
|
4e89d7d7ad
|
Remove unused import
|
2023-08-16 14:29:13 -07:00 |
|
Josh Hansen
|
3055cb96ec
|
Get example running again with default index locations
|
2023-08-16 14:28:00 -07:00 |
|
Josh Hansen
|
78693a7b1e
|
Decompose predicate
|
2023-08-16 13:58:06 -07:00 |
|
Josh Hansen
|
1a797f353e
|
Extract set and idx
|
2023-08-15 14:08:01 -07:00 |
|
Josh Hansen
|
4d38e97f82
|
Get basic test of init passing
|
2023-08-15 13:48:13 -07:00 |
|
Josh Hansen
|
3cbdba3c93
|
Make get_key more robust and use it more widely; add but don't yet use get_index_info
|
2023-08-15 12:11:57 -07:00 |
|