Commit Graph

123 Commits

Author SHA1 Message Date
Felicitas Pojtinger
a83f28809f fix: Prevent deleting non-empty directories 2022-01-12 20:41:24 +01:00
Felicitas Pojtinger
b0c7e8cd55 feat: Add test for Remove 2022-01-12 20:30:16 +01:00
Felicitas Pojtinger
af5368c758 feat: Add tests for OpenFile 2022-01-11 23:34:44 +01:00
Felicitas Pojtinger
2aa5ed383e feat: Add tests for nested Open calls 2022-01-11 03:56:30 +01:00
Felicitas Pojtinger
c13f97eb69 feat: Add tests for Open with fully qualified paths 2022-01-11 03:41:43 +01:00
Felicitas Pojtinger
f8c8bae5f1 fix: Normalize behaviour between os.BasePathFs and STFS 2022-01-11 03:31:22 +01:00
Felicitas Pojtinger
40956fa1c3 feat: Add tests for MkdirAll 2022-01-11 02:18:03 +01:00
Felicitas Pojtinger
b89437783b feat: Add tests for Mkdir 2022-01-11 00:23:49 +01:00
Felicitas Pojtinger
55d05e63e8 fix: Prevent creating directories again if they already exist 2022-01-10 23:43:45 +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
7b83d3bc20 feat: Add benchmark for Create and related utilities 2022-01-09 23:43:04 +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
f1f338734b feat: Fix file flags on FTP server, remove quirks handling option 2022-01-09 03:04:06 +01:00
Felicitas Pojtinger
96aa71a361 feat: Skip encryption, signatures and compression in short tests mode 2022-01-09 02:12:36 +01:00
Felicitas Pojtinger
4738cb52f6 feat: Add support for short testing mode 2022-01-09 02:01:22 +01:00
Felicitas Pojtinger
74bd964f76 feat: Add test for FS name 2022-01-09 01:37:22 +01:00
Felicitas Pojtinger
1b687af2cd feat: Add on-disk caching for generated test keys 2022-01-09 01:33:09 +01:00
Felicitas Pojtinger
d01ff1a05e feat: Add key generation support to parameterized tests 2022-01-09 01:08:40 +01:00
Felicitas Pojtinger
53ed060dbf feat: Start adding parameterized tests 2022-01-09 00:19:44 +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
c7654dd876 feat: Start adding unit tests 2022-01-08 19:40:12 +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
f31e4aea9c refactor: Decompose drive initialization to fs package, add getters for operations 2022-01-07 19:57:01 +01:00
Felicitas Pojtinger
9eb888e5f9 feat: Add read-only flag to FTP server 2022-01-05 03:50:37 +01:00
Felicitas Pojtinger
4104a9ee91 fix: Prevent calling readdir and readdirnames on files 2022-01-05 01:23:23 +01:00
Felicitas Pojtinger
fce0477da3 refactor: Prevent duplicate queries with specified limits in Readdir 2022-01-04 22:46:25 +01:00
Felicitas Pojtinger
4b246f2794 refactor: Rewrite path sanitizer to support write operations on relative tar archives 2022-01-04 22:20:33 +01:00
Felicitas Pojtinger
c031df10cd fix: Prevent deadlock when calling fs.Create 2022-01-03 16:59:56 +01:00
Felicitas Pojtinger
5d5b6ebb96 refactor: Split keys and keyext packages, make compression, signature and encryption packages public 2022-01-03 14:56:46 +01:00
Felicitas Pojtinger
b0a1b61297 feat: Implement ReadlinkIfPossible 2022-01-02 23:55:23 +01:00
Felicitas Pojtinger
eb95e68bc2 feat: Implement LstatIfPossible 2022-01-02 23:51:52 +01:00
Felicitas Pojtinger
fb0e4f5b08 feat: Implement Symlink creation 2022-01-02 23:18:56 +01:00
Felicitas Pojtinger
172a6a3f48 refactor: Use public API structs in persisters 2022-01-02 00:03:01 +01:00
Felicitas Pojtinger
cfbb936954 refactor: Use interface for logger instead of private struct 2022-01-01 23:12:32 +01:00
Felicitas Pojtinger
9058942443 fix: Synchronize operations on index which depend on asynchronouns writes 2022-01-01 22:53:24 +01:00
Felicitas Pojtinger
92dcc46cf5 feat: Re-index if file does exist but index is not up to date 2022-01-01 21:54:30 +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
92669961cc feat: Implement basic overwriting, in-memory File.Write 2021-12-22 22:02:12 +01:00
Felicitas Pojtinger
191896bcda feat: Implement Open and Create for new files, decompose mknode 2021-12-21 23:51:50 +01:00
Felicitas Pojtinger
2400568963 feat: Implement Move for files and directories 2021-12-20 23:09:17 +01:00
Felicitas Pojtinger
64db9a586f refactor: Use filepath.ToSlash explicitly for FileConfig, name, to and from params 2021-12-20 02:48:07 +01:00
Felicitas Pojtinger
aa89e55249 fix: Don't use platform-specific path libraries for tar-internal path parsing 2021-12-20 01:52:39 +01:00
Felicitas Pojtinger
d38b97f1ff feat: Add list limit support 2021-12-18 23:12:52 +01:00
Felicitas Pojtinger
4efc0ae249 fix: Close files immediately in archive cmd 2021-12-18 20:57:30 +01:00
Felicitas Pojtinger
4d29621a6a feat: Add stat cmd 2021-12-17 18:07:07 +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
2a67c243fd feat: Add io.Writer-based API to restore and fetch cmds 2021-12-17 15:30:09 +01:00