Commit Graph

100 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
843527b99e feat: Add OsFs-compliant support for Readlink, Symlink and Lstat 2022-01-16 18:03:43 +01:00
Felix Pojtinger
37320f09c8 feat: Add portable Timespec implementation for FileInfo 2022-01-16 01:18:45 +01:00
Felix Pojtinger
5131825b28 feat: Use portable syscall.Stat_t equivalent for FileInfo 2022-01-15 20:58:47 +01:00
Felix Pojtinger
caefd75f4f fix: Return fully-qualified file name in Name() 2022-01-11 03:40:06 +01:00
Felix Pojtinger
d8a907938d fix: Prevent creating directories again if they already exist 2022-01-10 23:43:45 +01:00
Felix Pojtinger
1e9d5ec9a5 fix: Allow using relative paths for database without creating leading directories 2022-01-08 15:40:28 +01:00
Felix Pojtinger
4b2301af8d fix: Don't import OS package in mtio stubs 2022-01-07 22:47:38 +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
a86c36e785 feat: Use pure Go SQLite on supported platforms and fallback to CGo SQLite on unsupported platforms, use Afero release will pulled changes 2022-01-07 21:25:19 +01:00
Felix Pojtinger
8b053e6d50 refactor: Disable autogenerated tests from SQLBoiler and switch to upstream driver 2022-01-07 21:02:35 +01:00
Felix Pojtinger
1223301d60 refactor: Use modernc.org/sqlite 2022-01-07 20:53:44 +01:00
Felix Pojtinger
f856f880e5 fix: Prevent calling readdir and readdirnames on files 2022-01-05 01:23:23 +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
32fe31c5e8 refactor: Split keys and keyext packages, make compression, signature and encryption packages public 2022-01-03 14:56:46 +01:00
Felix Pojtinger
b48140ac2f feat: Implement LstatIfPossible 2022-01-02 23:51:52 +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
67d97ed32b feat: Make STFS API public
Also: Happy new year :)
2021-12-31 23:57:21 +01:00
Felix Pojtinger
89c5338554 feat: Add structured logging for SQLBoiler 2021-12-28 23:16:33 +01:00
Felix Pojtinger
7f36f4ef7f feat: Add internal log verbosity setting 2021-12-28 22:53:41 +01:00
Felix Pojtinger
e0ec9b97fb feat: Add full JSON output to JSON logger 2021-12-28 22:36:44 +01:00
Felix Pojtinger
7d5723f2e4 fix: Prevent nil errors on creating FileInfo structs 2021-12-28 21:59:36 +01:00
Felix Pojtinger
2d6343d6ae feat: Add basic structured logger 2021-12-28 21:05:43 +01:00
Felix Pojtinger
e4d899e552 fix: Ignore read/write permissions on FTP 2021-12-27 17:26:37 +01:00
Felix Pojtinger
d2a8d09a3b feat: Implement File.WriteAt 2021-12-27 17:24:35 +01:00
Felix Pojtinger
9e2a9724b8 feat: Support O_CREATE and O_EXCL flags 2021-12-27 17:18:41 +01:00
Felix Pojtinger
39d3c7baef feat: Add support for O_TRUNC and O_APPEND flags 2021-12-27 17:12:19 +01:00
Felix Pojtinger
697c377c56 feat: Add O_RDONLY, O_WRONLY and O_RDWR flag support 2021-12-27 16:53:50 +01:00
Felix Pojtinger
bfe2d27f11 feat: Start transfering open flags from FileSystem to File 2021-12-27 16:48:22 +01:00
Felix Pojtinger
544401c8a0 feat: Enable reading from write buffer without syncing 2021-12-27 16:02:36 +01:00
Felix Pojtinger
d3f863d13b feat: Enable re-using write buffer and reading existing content into write buffer 2021-12-27 15:28:43 +01:00
Felix Pojtinger
dea8dfbdf1 feat: Implement File.WriteString 2021-12-26 00:18:47 +01:00
Felix Pojtinger
c9247ebc0c feat: Add explicit read/write locks to reading/writing functions in File 2021-12-26 00:15:45 +01:00
Felix Pojtinger
c95d141cea fix: Use correct path to on-disk write cache cleanup function 2021-12-26 00:13:55 +01:00
Felix Pojtinger
e80f972ed1 fix: Cleanup write cache on file close 2021-12-25 23:54:26 +01:00
Felix Pojtinger
4ad379bee7 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
Felix Pojtinger
354c526ead fix: Delete cache dir to prevent inconsistent reads 2021-12-25 20:54:15 +01:00
Felix Pojtinger
f793dca6f3 fix: Add workaround for broken Open implementation in CacheOnReadFs (https://github.com/spf13/afero/issues/193) 2021-12-25 20:44:27 +01:00
Felix Pojtinger
41a338336f fix: Make error catch for strconv in UIDs less explicit 2021-12-24 17:40:13 +01:00
Felix Pojtinger
8759e75cb4 fix: Support GID and UID on Windows 2021-12-24 17:05:05 +01:00
Felix Pojtinger
c8ff51d2c4 feat: Add interchangeable write buffers based on io.File and filebuffer.Buffer 2021-12-24 16:55:14 +01:00
Felix Pojtinger
35ebd268a2 feat: Implement disk-based IO cache 2021-12-23 22:12:29 +01:00
Felix Pojtinger
b4c8925299 feat: Implement Truncate 2021-12-23 21:25:34 +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
194e5f23c0 feat: Implement MkdirAll 2021-12-21 22:04:35 +01:00
Felix Pojtinger
3660599b77 feat: Implement Mkdir 2021-12-21 21:57:49 +01:00
Felix Pojtinger
26d142316f feat: Implement Chtimes for files and directories 2021-12-21 00:18:46 +01:00