Commit Graph

52 Commits

Author SHA1 Message Date
Felicitas Pojtinger
4104a9ee91 fix: Prevent calling readdir and readdirnames on files 2022-01-05 01:23:23 +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
eb95e68bc2 feat: Implement LstatIfPossible 2022-01-02 23:51:52 +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
5089333d13 feat: Make STFS API public
Also: Happy new year :)
2021-12-31 23:57:21 +01:00
Felicitas Pojtinger
40a5b9608f fix: Prevent nil errors on creating FileInfo structs 2021-12-28 21:59:36 +01:00
Felicitas Pojtinger
6837f6bc05 feat: Add basic structured logger 2021-12-28 21:05:43 +01:00
Felicitas Pojtinger
7befc67ffc fix: Ignore read/write permissions on FTP 2021-12-27 17:26:37 +01:00
Felicitas Pojtinger
9cfa7cf0f0 feat: Implement File.WriteAt 2021-12-27 17:24:35 +01:00
Felicitas Pojtinger
cd07daf2b5 feat: Support O_CREATE and O_EXCL flags 2021-12-27 17:18:41 +01:00
Felicitas Pojtinger
04a4a4fa7e feat: Add support for O_TRUNC and O_APPEND flags 2021-12-27 17:12:19 +01:00
Felicitas Pojtinger
77060795e6 feat: Add O_RDONLY, O_WRONLY and O_RDWR flag support 2021-12-27 16:53:50 +01:00
Felicitas Pojtinger
a03d1e5016 feat: Start transfering open flags from FileSystem to File 2021-12-27 16:48:22 +01:00
Felicitas Pojtinger
19fc63459e feat: Enable reading from write buffer without syncing 2021-12-27 16:02:36 +01:00
Felicitas Pojtinger
04a08fe5a6 feat: Enable re-using write buffer and reading existing content into write buffer 2021-12-27 15:28:43 +01:00
Felicitas Pojtinger
8fb79ccb76 feat: Implement File.WriteString 2021-12-26 00:18:47 +01:00
Felicitas Pojtinger
ace271dde5 feat: Add explicit read/write locks to reading/writing functions in File 2021-12-26 00:15:45 +01:00
Felicitas Pojtinger
44a3d32b18 fix: Cleanup write cache on file close 2021-12-25 23:54:26 +01:00
Felicitas Pojtinger
a1396665e1 fix: Use fork of Afero until merge of PR which fixes OpenFile (https://github.com/spf13/afero/issues/193) 2021-12-25 21:25:45 +01:00
Felicitas Pojtinger
9f5c1b9818 fix: Add workaround for broken Open implementation in CacheOnReadFs (https://github.com/spf13/afero/issues/193) 2021-12-25 20:44:27 +01:00
Felicitas Pojtinger
99e6687d51 fix: Make error catch for strconv in UIDs less explicit 2021-12-24 17:40:13 +01:00
Felicitas Pojtinger
8b09fd444f fix: Support GID and UID on Windows 2021-12-24 17:05:05 +01:00
Felicitas Pojtinger
087630710c feat: Add interchangeable write buffers based on io.File and filebuffer.Buffer 2021-12-24 16:55:14 +01:00
Felicitas Pojtinger
31459e0efd feat: Implement disk-based IO cache 2021-12-23 22:12:29 +01:00
Felicitas Pojtinger
70aad4db5d feat: Implement Truncate 2021-12-23 21:25:34 +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
ac50d61f0c feat: Implement MkdirAll 2021-12-21 22:04:35 +01:00
Felicitas Pojtinger
923702f202 feat: Implement Mkdir 2021-12-21 21:57:49 +01:00
Felicitas Pojtinger
6bef0b3fdb feat: Implement Chtimes for files and directories 2021-12-21 00:18:46 +01:00
Felicitas Pojtinger
0333eab866 feat: Implement Chown for files and directories 2021-12-21 00:13:57 +01:00
Felicitas Pojtinger
a9e8040623 feat: Implement Chmod for files and directories 2021-12-20 23:54:43 +01:00
Felicitas Pojtinger
2400568963 feat: Implement Move for files and directories 2021-12-20 23:09:17 +01:00
Felicitas Pojtinger
ed1299260b feat: Implement Remove and RemoveAll 2021-12-20 22:09:40 +01:00
Felicitas Pojtinger
07c0abff55 feat: Start implementation of write operations 2021-12-20 22:00:19 +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
ec0c188381 fix: Return written bytes if there is a EOF error while reading/seeking 2021-12-19 01:50:57 +01:00
Felicitas Pojtinger
ce940d592f fix: Use file mode directly to prevent dir bit from being supressed 2021-12-19 01:34:52 +01:00
Felicitas Pojtinger
2f3d2dcc57 feat: Start implementation of testing FTP server 2021-12-19 01:12:57 +01:00
Felicitas Pojtinger
592a90d1d4 feat: Implement File.ReadAt 2021-12-18 23:42:42 +01:00
Felicitas Pojtinger
7165451491 feat: Implement File.Readdirnames 2021-12-18 23:15:54 +01:00
Felicitas Pojtinger
d38b97f1ff feat: Add list limit support 2021-12-18 23:12:52 +01:00
Felicitas Pojtinger
d075c2cd21 feat: Add support for io.SeekStart, io.SeekCurrent and io.SeekEnd 2021-12-18 18:12:00 +01:00
Felicitas Pojtinger
c755ba4a95 feat: Enable seeking form start without closeing files 2021-12-18 17:37:13 +01:00
Felicitas Pojtinger
fa04683e08 feat: Add basic STFS-backed Close and Seek implementations 2021-12-18 01:57:44 +01:00
Felicitas Pojtinger
db60cc099a feat: Add basic STFS-backed Read implementation 2021-12-17 21:57:51 +01:00
Felicitas Pojtinger
249de04c04 feat: Add basic implementation of File.Readdir 2021-12-17 18:39:00 +01:00
Felicitas Pojtinger
02a62d65de refactor: Decompose FileInfo conversion 2021-12-17 18:27:39 +01:00