Commit Graph

145 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
843527b99e feat: Add OsFs-compliant support for Readlink, Symlink and Lstat 2022-01-16 18:03:43 +01:00
Felix Pojtinger
ec42111545 feat: Add tests for ReadlinkIfPossible 2022-01-16 03:55:08 +01:00
Felix Pojtinger
7b78599150 feat: Add tests for SymlinkIfPossible 2022-01-16 03:32:32 +01:00
Felix Pojtinger
c365fe74ad feat: Add tests for LstatIfPossible 2022-01-16 02:45:32 +01:00
Felix Pojtinger
869ed5a4c2 feat: Add tests for Chtimes 2022-01-16 01:19:06 +01:00
Felix Pojtinger
58e5941b36 fix: Enable compilation of pkg/fs for WASM 2022-01-16 01:17:29 +01:00
Felix Pojtinger
7f4bb78601 refactor: Enable all tests previously broken by bugs in the caching layer 2022-01-16 00:08:37 +01:00
Felix Pojtinger
02a882fbf1 feat: Start skipping cache for non-supported tests 2022-01-15 23:57:57 +01:00
Felix Pojtinger
6a6dee298d feat: Add test for Chown 2022-01-15 20:59:06 +01:00
Felix Pojtinger
f04f0e5fab feat: Add test for Chmod 2022-01-15 18:41:34 +01:00
Felix Pojtinger
4a3c5d981e feat: Add test for Stat 2022-01-14 21:36:19 +01:00
Felix Pojtinger
525c76da7e refactor: Clean incoming filepaths before passing them to STFS 2022-01-13 19:11:40 +01:00
Felix Pojtinger
4c2369ced4 feat: Add tests for renaming directories to files and vice versa 2022-01-13 18:57:05 +01:00
Felix Pojtinger
97a954fe97 feat: Add first tests to rename 2022-01-13 18:39:45 +01:00
Felix Pojtinger
b707a812a4 feat: Add test for RemoveAll, enable deleting non-existing files/directories using RemoveAll 2022-01-12 23:49:26 +01:00
Felix Pojtinger
defce7a068 fix: Prevent creating directories with no parent 2022-01-12 23:41:12 +01:00
Felix Pojtinger
ecc571df88 fix: Block creating files with non-existing parent directories using O_CREATE 2022-01-12 22:39:00 +01:00
Felix Pojtinger
0d80752516 fix: Add quirks mode for FTP compatibility, where read permission is required even if O_WRONLY is set 2022-01-12 22:21:10 +01:00
Felix Pojtinger
a022c30147 fix: Block creating files with non-existing parent directories 2022-01-12 22:02:17 +01:00
Felix Pojtinger
385492a4b8 fix: Prevent deleting non-empty directories 2022-01-12 20:41:24 +01:00
Felix Pojtinger
900d49afec feat: Add test for Remove 2022-01-12 20:30:16 +01:00
Felix Pojtinger
eb7074646d feat: Add tests for OpenFile 2022-01-11 23:34:44 +01:00
Felix Pojtinger
bcb91f4dfc feat: Add tests for nested Open calls 2022-01-11 03:56:30 +01:00
Felix Pojtinger
7b23aad395 feat: Add tests for Open with fully qualified paths 2022-01-11 03:41:43 +01:00
Felix Pojtinger
2d3ef7f7e1 fix: Normalize behaviour between os.BasePathFs and STFS 2022-01-11 03:31:22 +01:00
Felix Pojtinger
65ea0322ab feat: Add tests for MkdirAll 2022-01-11 02:18:03 +01:00
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