29 Commits

Author SHA1 Message Date
Felicitas Pojtinger
5d3424df92 refactor: Inject mtio package to allow for remote implementation 2022-01-16 23:50:47 +01:00
Felicitas Pojtinger
5b84583403 refactor: Merge drive and reader config to enable implementations of tape management without synchronization 2022-01-16 22:46:18 +01:00
Felicitas Pojtinger
17e3c64f29 refactor: Remove reader and seeker capabilities from Drive interface to prevent incorrect usage as reader 2022-01-16 22:09:44 +01:00
Felicitas Pojtinger
5da7e0e96e feat: Add tests for LstatIfPossible 2022-01-16 02:45:32 +01:00
Felicitas Pojtinger
a83f28809f fix: Prevent deleting non-empty directories 2022-01-12 20:41:24 +01:00
Felicitas Pojtinger
2487479433 fix: Prevent cleaning initialization path before creating root directory, add initialization tests 2022-01-10 23:28:45 +01:00
Felicitas Pojtinger
f3657dc189 refactor: Use consistent naming scheme for config keys 2022-01-08 23:42:32 +01:00
Felicitas Pojtinger
46eef49429 feat: Add full example with encryption, compression and signatures 2022-01-08 23:14:55 +01:00
Felicitas Pojtinger
f45f8b1499 refactor: Use explicit interface instead of os.File for drive backend 2022-01-07 22:27:14 +01:00
Felicitas Pojtinger
4104a9ee91 fix: Prevent calling readdir and readdirnames on files 2022-01-05 01:23:23 +01:00
Felicitas Pojtinger
172a6a3f48 refactor: Use public API structs in persisters 2022-01-02 00:03:01 +01:00
Felicitas Pojtinger
d71421e14e feat: Add basic support for initializing empty archives in filesystem 2022-01-01 18:08:47 +01:00
Felicitas Pojtinger
5089333d13 feat: Make STFS API public
Also: Happy new year :)
2021-12-31 23:57:21 +01:00
Felicitas Pojtinger
129cfab84a feat: Add io.Reader-based API to archive cmd 2021-12-15 23:14:22 +01:00
Felicitas Pojtinger
8d922ccd81 refactor: Use string-backed enums consistently 2021-12-15 21:11:18 +01:00
Felicitas Pojtinger
ae7e418891 feat: Add event type and pre/post-index logging 2021-12-15 02:06:18 +01:00
Felicitas Pojtinger
479def3d80 refactor: Introduce config struct for operations 2021-12-15 01:33:01 +01:00
Felicitas Pojtinger
71d28c8184 refactor: Inject metadata persister 2021-12-15 00:41:23 +01:00
Felicitas Pojtinger
6bd31d356c refactor: Use explicit reader/writer instead of filepath for drive 2021-12-13 00:26:30 +01:00
Felicitas Pojtinger
bc7793360f refactor: Use simpler error messages 2021-12-09 17:48:57 +01:00
Felicitas Pojtinger
f6c672756f fix: Prevent recipient and identity parsing errors from being indistinguishable 2021-12-08 22:01:30 +01:00
Felicitas Pojtinger
f6b1ab0320 refactor: Normalize internal and pkg packages 2021-12-08 21:44:57 +01:00
Felicitas Pojtinger
0be10a7698 refactor: Decompose all utilities from cmd package 2021-12-08 00:27:46 +01:00
Felicitas Pojtinger
c6fbd58256 refactor: Decompose delete func 2021-12-07 23:01:44 +01:00
Felicitas Pojtinger
db69d5f68c refactor: Decompose archive func 2021-12-07 21:12:23 +01:00
Felicitas Pojtinger
b700a767cb refactor: Decompose keygen func 2021-12-07 01:54:47 +01:00
Felicitas Pojtinger
bf0866550a refactor: Decompose fetch func 2021-12-06 22:15:28 +01:00
Felicitas Pojtinger
25fe4ddb04 refactor: Decompose index func 2021-12-06 21:27:59 +01:00
Felicitas Pojtinger
4f5d298c8e refactor: Start implementation of public API 2021-12-06 21:01:41 +01:00