Commit Graph

47 Commits

Author SHA1 Message Date
Felicitas Pojtinger
5556cba90a feat: Add tests for symlink behaviour of chown 2022-01-23 20:04:49 +01:00
Felicitas Pojtinger
5f069ab85a feat: Add tests for symlink behaviour of chmod 2022-01-22 18:26:02 +01:00
Felicitas Pojtinger
cd03215610 feat: Add tests for symlink behaviour of Rename 2022-01-22 16:09:34 +01:00
Felicitas Pojtinger
363bc230be feat; Add tests for symlink behaviour of Remove 2022-01-21 23:59:53 +01:00
Felicitas Pojtinger
ae19c460d1 fix: Resolve symlinks when creating files for OsFs compatibility 2022-01-21 04:03:56 +01:00
Felicitas Pojtinger
1a5f12542a feat; Add initial tests for symlink behaviour of open 2022-01-21 03:10:17 +01:00
Felicitas Pojtinger
d5557ebf9c feat; Add tests for symlink behaviour of mkdirAll and prevent creating directories on file paths 2022-01-21 02:35:48 +01:00
Felicitas Pojtinger
259db51d9e feat; Add tests for symlink behaviour of mkdir 2022-01-21 01:58:10 +01:00
Felicitas Pojtinger
301943c3a5 fix: Prevent creating files in place of symlinks to directories 2022-01-21 01:12:05 +01:00
Felicitas Pojtinger
b5aca14188 feat: Add tests for File.Name() 2022-01-18 21:21:06 +01:00
Felicitas Pojtinger
84f91bfd4a refactor: Move File and FileInfo to pkg 2022-01-18 21:01:55 +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
2a28fa3b5f feat: Add OsFs-compliant support for Readlink, Symlink and Lstat 2022-01-16 18:03:43 +01:00
Felicitas Pojtinger
364ae46650 feat: Add tests for SymlinkIfPossible 2022-01-16 03:32:32 +01:00
Felicitas Pojtinger
5da7e0e96e feat: Add tests for LstatIfPossible 2022-01-16 02:45:32 +01:00
Felicitas Pojtinger
75772f8c91 feat: Add test for Chown 2022-01-15 20:59:06 +01:00
Felicitas Pojtinger
187715f7b2 refactor: Clean incoming filepaths before passing them to STFS 2022-01-13 19:11:40 +01:00
Felicitas Pojtinger
44ea6f1573 feat: Add tests for renaming directories to files and vice versa 2022-01-13 18:57:05 +01:00
Felicitas Pojtinger
de72c602b5 feat: Add first tests to rename 2022-01-13 18:39:45 +01:00
Felicitas Pojtinger
3f9306d9fe feat: Add test for RemoveAll, enable deleting non-existing files/directories using RemoveAll 2022-01-12 23:49:26 +01:00
Felicitas Pojtinger
8decf22177 fix: Prevent creating directories with no parent 2022-01-12 23:41:12 +01:00
Felicitas Pojtinger
3a0165895a fix: Block creating files with non-existing parent directories using O_CREATE 2022-01-12 22:39:00 +01:00
Felicitas Pojtinger
5ed0eec75e 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
Felicitas Pojtinger
dcc51ea88f fix: Block creating files with non-existing parent directories 2022-01-12 22:02:17 +01:00
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
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
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
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
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
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
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