Commit Graph

31 Commits

Author SHA1 Message Date
Felix Pojtinger
25cacd34d8 refactor: Inject mtio package to allow for remote implementation 2022-01-16 23:50:47 +01:00
Felix Pojtinger
5bb79b6d9e refactor: Merge drive and reader config to enable implementations of tape management without synchronization 2022-01-16 22:46:18 +01:00
Felix Pojtinger
932a58d9d0 refactor: Remove reader and seeker capabilities from Drive interface to prevent incorrect usage as reader 2022-01-16 22:09:44 +01:00
Felix Pojtinger
442aa639a3 fix: Prevent cleaning initialization path before creating root directory, add initialization tests 2022-01-10 23:28:45 +01:00
Felix Pojtinger
d3a43b4adb refactor: Set RecordSize of PipeConfig instead of passing it as a parameter 2022-01-09 03:12:44 +01:00
Felix Pojtinger
1a0cb33571 refactor: Use explicit interface instead of os.File for drive backend 2022-01-07 22:27:14 +01:00
Felix Pojtinger
32fe31c5e8 refactor: Split keys and keyext packages, make compression, signature and encryption packages public 2022-01-03 14:56:46 +01:00
Felix Pojtinger
3b17287d16 refactor: Use public API structs in persisters 2022-01-02 00:03:01 +01:00
Felix Pojtinger
97f25c1aad feat: Add basic support for initializing empty archives in filesystem 2022-01-01 18:08:47 +01:00
Felix Pojtinger
67d97ed32b feat: Make STFS API public
Also: Happy new year :)
2021-12-31 23:57:21 +01:00
Felix Pojtinger
cc1511513d refactor: Use filepath.ToSlash explicitly for FileConfig, name, to and from params 2021-12-20 02:48:07 +01:00
Felix Pojtinger
71d0647024 fix: Don't use platform-specific path libraries for tar-internal path parsing 2021-12-20 01:52:39 +01:00
Felix Pojtinger
71e69d6057 fix: Prevent false positives for no-op detection in index 2021-12-17 15:57:20 +01:00
Felix Pojtinger
b58cf7d02f fix: Support no-op move operation 2021-12-17 15:53:53 +01:00
Felix Pojtinger
66a5cd4b9c feat: Add io.Writer-based API to restore and fetch cmds 2021-12-17 15:30:09 +01:00
Felix Pojtinger
32f56cd05d refactor: Clear database tables instead of truncating 2021-12-15 00:40:31 +01:00
Felix Pojtinger
58b407cd4f refactor: Use explicit reader/writer instead of filepath for drive 2021-12-13 00:26:30 +01:00
Felix Pojtinger
734df25820 fix: Use offset to prevent re-indexing encrypted headers 2021-12-10 21:51:12 +01:00
Felix Pojtinger
9516b7db2e refactor: Decompose logger completely 2021-12-10 21:20:35 +01:00
Felix Pojtinger
638e970c2a refactor: Use simpler error messages 2021-12-09 17:48:57 +01:00
Felix Pojtinger
103e9d1099 refactor: Normalize internal and pkg packages 2021-12-08 21:44:57 +01:00
Felix Pojtinger
15287f7f93 refactor: Decompose all utilities from cmd package 2021-12-08 00:27:46 +01:00
Felix Pojtinger
62d613ef04 refactor: Unify delete and move indexing behavior 2021-12-07 01:43:04 +01:00
Felix Pojtinger
4278781267 fix: Prevent moving headers from corrupting last indexed record & block 2021-12-07 01:37:16 +01:00
Felix Pojtinger
bcb74057b4 fix: Prevent deletion of headers from corrupting last indexed record & block 2021-12-07 00:41:02 +01:00
Felix Pojtinger
15382ffcfd 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
Felix Pojtinger
7abca5f164 refactor: Drop offset in favor of ignoring the first index 2021-12-06 23:31:55 +01:00
Felix Pojtinger
01c75dfa65 refactor: Decompose query func 2021-12-06 22:37:40 +01:00
Felix Pojtinger
7ac5346ec0 refactor: Decompose fetch func 2021-12-06 22:15:28 +01:00
Felix Pojtinger
fdafd1a57a refactor: Decompose index func 2021-12-06 21:27:59 +01:00
Felix Pojtinger
3efa2fe308 refactor: Start implementation of public API 2021-12-06 21:01:41 +01:00