Jaremy Creechley
7a3c64d425
switch to result type
2023-09-07 17:31:17 -06:00
Jaremy Creechley
5f13765a49
switch to result type
2023-09-07 17:31:17 -06:00
Jaremy Creechley
485f2ecaed
cleanup
2023-09-07 17:31:17 -06:00
Jaremy Creechley
a2c9a7efc3
various cleanup
2023-09-07 17:31:16 -06:00
Jaremy Creechley
22c9d8556a
rename sharedds to threadproxyds
2023-09-07 17:31:16 -06:00
Jaremy Creechley
40cc03e3c3
updates
2023-09-07 17:31:15 -06:00
Jaremy Creechley
6364c8316d
test setup
2023-09-07 17:31:15 -06:00
Jaremy Creechley
a68ce94c8d
test setup
2023-09-07 17:31:15 -06:00
Jaremy Creechley
03830cef8f
cleanup
2023-09-07 17:31:15 -06:00
Jaremy Creechley
b27593e8cf
cleanup
2023-09-07 17:31:15 -06:00
Jaremy Creechley
a11a681a6f
basic datstore checks
2023-09-07 17:31:14 -06:00
Jaremy Creechley
344ba6a19b
basic datstore checks
2023-09-07 17:31:14 -06:00
Jaremy Creechley
23423e52a9
add memory (test) ds
2023-09-07 17:31:14 -06:00
Jaremy Creechley
de406a5b11
add memory (test) ds
2023-09-07 17:31:13 -06:00
Jaremy Creechley
904d65b98a
add memory (test) ds
2023-09-07 17:31:13 -06:00
Jaremy Creechley
727f8b6c2a
properly close signal even on cancel
2023-09-07 17:31:12 -06:00
Jaremy Creechley
86a7085539
switching up
2023-09-07 17:31:11 -06:00
Jaremy Creechley
6c133a2551
cleanup
2023-09-07 17:31:11 -06:00
Jaremy Creechley
0b2e016883
adding sharedds get
2023-09-07 17:31:11 -06:00
Jaremy Creechley
f66531de06
passing put args
2023-09-07 17:31:11 -06:00
Jaremy Creechley
8ab5da01c6
create backend
2023-09-07 17:31:10 -06:00
Jaremy Creechley
464896bf88
adding test backend
2023-09-07 17:31:10 -06:00
Jaremy Creechley
0daf1683e8
adding testing
2023-09-07 17:31:09 -06:00
Jaremy Creechley
edc9321658
updates
2023-09-07 17:31:07 -06:00
Jaremy Creechley
e81c5faf40
add helpers
2023-09-07 17:31:07 -06:00
Jaremy Creechley
542fdf268c
initial data buffer
2023-09-07 17:31:06 -06:00
Dmitriy Ryajov
030dc9e16e
fix conflicting testing symbols
2023-09-07 17:26:34 -06:00
Dmitriy Ryajov
b322d0bb8e
setup the path correctly
2023-09-07 17:26:16 -06:00
Dmitriy Ryajov
44c198b96a
rework contains to return a bool ( #39 )
2022-12-02 16:25:44 -06:00
Dmitriy Ryajov
9d49c8016e
Several fixes and missing features ( #38 )
...
* shorten lines
* only return data when `query.value == true`
* test `query.value = false`
* close mounted ds
* allow passing dispose to query iter constructor
* fix fs querying
* use currentSourcePath
* remove `dsobj` extensions from directories
* don't return error on missing key delete
* return `DatastoreKeyNotFound` on empty `get`
* return `DatastoreKeyNotFound` on missing sql key
2022-11-22 15:23:23 -06:00
Dmitriy Ryajov
6c06a3b095
Adding batching capabilities ( #37 )
...
* adding batch entry
* add batched put and delete
* add batched tests
* adding batching capabilities to remaining stores
* open db in readonly mode
* make naming consistent
* release prepared statements
* don't use deprecated add
* check file exists on test exit
* remove unused var
2022-09-30 08:24:26 -06:00
Dmitriy Ryajov
308b5c08be
Better fsds path sanitization ( #31 )
...
* add better path sanytizing
* rebase master
* Bugfixed and moved all checks into path()
* added check for empty basename in order to avoid bug in isValidFilename
* refactored - all filename checks are moved into path() function that constructs this filename
Co-authored-by: Bulat-Ziganshin <bulat.ziganshin@gmail.com>
2022-09-29 11:56:24 -06:00
Dmitriy Ryajov
f5dadd93be
Adding mounted store ( #33 )
...
* adding monted store
* misc spelling
* adding mounted store tests to suite
* split out key
* relaxed key initialization
* always mount and lookup by path
* cleaned up and reorged tests
* test lookup by path
* add re-exports
* more re-exports
* fix warnings and re-exports
2022-09-21 18:13:50 -06:00
Dmitriy Ryajov
446de6f978
Fsds query ( #32 )
...
* add basic query capabilities to fsds
* rename common tests
* make query tests common
* sanitize key
* check it's possible to query keys at same level
2022-09-20 18:18:33 -06:00
Dmitriy Ryajov
02167bb69e
Add proper sqlite query support ( #30 )
...
* Add query support for sqlite backend
* basic tests with in memory ds
* remove `close` default implementation
2022-09-20 14:41:54 -06:00
Dmitriy Ryajov
e6430b6b85
close db
2022-09-20 09:51:28 -06:00
Dmitriy Ryajov
a3781edc6a
remove path sanitization for now, address in upcoming pr
2022-09-20 09:16:56 -06:00
Dmitriy Ryajov
a045aa4ef1
close db
2022-09-19 23:11:57 -06:00
Dmitriy Ryajov
29577b6dd7
paths are already sanitized, removing allowed
2022-09-19 23:01:10 -06:00
Dmitriy Ryajov
9901e71a88
add basic tests to tired ds
2022-09-19 17:23:19 -06:00
Dmitriy Ryajov
39258e5f73
remove null ds
2022-09-19 17:14:15 -06:00
Dmitriy Ryajov
c60ff35bdd
cleanup tired db tests
2022-09-19 17:14:06 -06:00
Dmitriy Ryajov
1f97a923fa
fix query basic test
2022-09-19 17:13:46 -06:00
Dmitriy Ryajov
60e0ea5573
get rid of null datastore
2022-09-19 17:12:52 -06:00
Dmitriy Ryajov
f5c7a3c02b
add common basic tests
2022-09-19 15:54:29 -06:00
Dmitriy Ryajov
86b13495f1
rename tests
2022-09-19 15:54:19 -06:00
Dmitriy Ryajov
36655e318a
cleanup tests
2022-09-19 15:53:38 -06:00
Dmitriy Ryajov
c7df334836
rename sql tests
2022-09-16 21:15:43 -06:00
Dmitriy Ryajov
5d29ad905d
add sql backend tests
2022-09-16 21:15:28 -06:00
Dmitriy Ryajov
77807d8948
wip: rework sql store tests
2022-09-16 21:15:08 -06:00