Commit Graph

24 Commits

Author SHA1 Message Date
Felicitas Pojtinger
717ecab64d feat: Enable appending to tar archives created outside of STFS by seeking over EOF mark manually 2022-01-25 04:14:19 +01:00
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
2487479433 fix: Prevent cleaning initialization path before creating root directory, add initialization tests 2022-01-10 23:28:45 +01:00
Felicitas Pojtinger
ccf02168d4 refactor: Set RecordSize of PipeConfig instead of passing it as a parameter 2022-01-09 03:12:44 +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
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
59d65169ff fix: Prevent false positives for no-op detection in index 2021-12-17 15:57:20 +01:00
Felicitas Pojtinger
3948da5cfd fix: Support no-op move operation 2021-12-17 15:53:53 +01:00
Felicitas Pojtinger
263a4e05d7 refactor: Clear database tables instead of truncating 2021-12-15 00:40:31 +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
8ef3530b20 fix: Use offset to prevent re-indexing encrypted headers 2021-12-10 21:51:12 +01:00
Felicitas Pojtinger
bc0951e476 refactor: Decompose logger completely 2021-12-10 21:20:35 +01:00
Felicitas Pojtinger
bc7793360f refactor: Use simpler error messages 2021-12-09 17:48:57 +01:00
Felicitas Pojtinger
f6b1ab0320 refactor: Normalize internal and pkg packages 2021-12-08 21:44:57 +01:00
Felicitas Pojtinger
d1dfe5c2be refactor: Unify delete and move indexing behavior 2021-12-07 01:43:04 +01:00
Felicitas Pojtinger
f26f899612 fix: Prevent moving headers from corrupting last indexed record & block 2021-12-07 01:37:16 +01:00
Felicitas Pojtinger
aa3b558340 fix: Prevent deletion of headers from corrupting last indexed record & block 2021-12-07 00:41:02 +01:00
Felicitas Pojtinger
943d92d052 fix: Enable computation of last known record and block based on lastknownrecord and lastknownblock even if last changes are updates 2021-12-06 23:55:31 +01:00
Felicitas Pojtinger
ee5d3c72d9 refactor: Drop offset in favor of ignoring the first index 2021-12-06 23:31:55 +01:00
Felicitas Pojtinger
25fe4ddb04 refactor: Decompose index func 2021-12-06 21:27:59 +01:00