Commit Graph

116 Commits

Author SHA1 Message Date
Felix Pojtinger
0d87ca5e9f feat: Add tests for Mkdir 2022-01-11 00:23:49 +01:00
Felix Pojtinger
d8a907938d fix: Prevent creating directories again if they already exist 2022-01-10 23:43:45 +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
abd9d54435 feat: Add benchmark for Create and related utilities 2022-01-09 23:43:04 +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
d35435d2c0 feat: Fix file flags on FTP server, remove quirks handling option 2022-01-09 03:04:06 +01:00
Felix Pojtinger
7fcccdd7fe feat: Skip encryption, signatures and compression in short tests mode 2022-01-09 02:12:36 +01:00
Felix Pojtinger
d2dd38c1e3 feat: Add support for short testing mode 2022-01-09 02:01:22 +01:00
Felix Pojtinger
15669ceff4 feat: Add test for FS name 2022-01-09 01:37:22 +01:00
Felix Pojtinger
933c858abd feat: Add on-disk caching for generated test keys 2022-01-09 01:33:09 +01:00
Felix Pojtinger
545dc39a07 feat: Add key generation support to parameterized tests 2022-01-09 01:08:40 +01:00
Felix Pojtinger
ee84ce55a9 feat: Start adding parameterized tests 2022-01-09 00:19:44 +01:00
Felix Pojtinger
31c3502ecb refactor: Use consistent naming scheme for config keys 2022-01-08 23:42:32 +01:00
Felix Pojtinger
fc05ffd532 feat: Add full example with encryption, compression and signatures 2022-01-08 23:14:55 +01:00
Felix Pojtinger
a15c7e7cac feat: Start adding unit tests 2022-01-08 19:40:12 +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
2541375302 refactor: Decompose drive initialization to fs package, add getters for operations 2022-01-07 19:57:01 +01:00
Felix Pojtinger
e8a164ca61 feat: Add read-only flag to FTP server 2022-01-05 03:50:37 +01:00
Felix Pojtinger
f856f880e5 fix: Prevent calling readdir and readdirnames on files 2022-01-05 01:23:23 +01:00
Felix Pojtinger
985a5cc3be refactor: Prevent duplicate queries with specified limits in Readdir 2022-01-04 22:46:25 +01:00
Felix Pojtinger
6b48db10f7 refactor: Rewrite path sanitizer to support write operations on relative tar archives 2022-01-04 22:20:33 +01:00
Felix Pojtinger
8ed551b3c4 fix: Prevent deadlock when calling fs.Create 2022-01-03 16:59:56 +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
c86730e756 feat: Implement ReadlinkIfPossible 2022-01-02 23:55:23 +01:00
Felix Pojtinger
b48140ac2f feat: Implement LstatIfPossible 2022-01-02 23:51:52 +01:00
Felix Pojtinger
2d914c765a feat: Implement Symlink creation 2022-01-02 23:18:56 +01:00
Felix Pojtinger
3b17287d16 refactor: Use public API structs in persisters 2022-01-02 00:03:01 +01:00
Felix Pojtinger
f2b7b1ed60 refactor: Use interface for logger instead of private struct 2022-01-01 23:12:32 +01:00
Felix Pojtinger
e5dd1e7d5a fix: Synchronize operations on index which depend on asynchronouns writes 2022-01-01 22:53:24 +01:00
Felix Pojtinger
13e80a01bc feat: Re-index if file does exist but index is not up to date 2022-01-01 21:54:30 +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
7e0386c520 feat: Implement basic overwriting, in-memory File.Write 2021-12-22 22:02:12 +01:00
Felix Pojtinger
0c36f51d13 feat: Implement Open and Create for new files, decompose mknode 2021-12-21 23:51:50 +01:00
Felix Pojtinger
4bd709ed9d feat: Implement Move for files and directories 2021-12-20 23:09:17 +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
ce1aab69a1 feat: Add list limit support 2021-12-18 23:12:52 +01:00
Felix Pojtinger
ad217bb591 fix: Close files immediately in archive cmd 2021-12-18 20:57:30 +01:00
Felix Pojtinger
98ad665fae feat: Add stat cmd 2021-12-17 18:07:07 +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
99359e09fd feat: Add io.Reader-based API to update cmd 2021-12-16 22:40:47 +01:00
Felix Pojtinger
c54e849c96 feat: Add io.Reader-based API to archive cmd 2021-12-15 23:14:22 +01:00
Felix Pojtinger
5ae914c23a fix: Only overwrite from manager at most once 2021-12-15 22:49:32 +01:00
Felix Pojtinger
fef27b4385 refactor: Use string-backed enums consistently 2021-12-15 21:11:18 +01:00
Felix Pojtinger
e13b835624 feat: Add event type and pre/post-index logging 2021-12-15 02:06:18 +01:00
Felix Pojtinger
b20742cfdc refactor: Introduce config struct for operations 2021-12-15 01:33:01 +01:00
Felix Pojtinger
7565374c5b refactor: Decompose all redudant parameters into Operations struct 2021-12-15 01:18:12 +01:00