Commit Graph

63 Commits

Author SHA1 Message Date
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
Felix Pojtinger
95bf3ce768 feat: Implement Chown for files and directories 2021-12-21 00:13:57 +01:00
Felix Pojtinger
7b454878c4 feat: Implement Chmod for files and directories 2021-12-20 23:54:43 +01:00
Felix Pojtinger
4bd709ed9d feat: Implement Move for files and directories 2021-12-20 23:09:17 +01:00
Felix Pojtinger
4544e4c654 feat: Implement Remove and RemoveAll 2021-12-20 22:09:40 +01:00
Felix Pojtinger
06e0d99214 fix: Prevent trying to access nil maps in PAXHeaders 2021-12-20 22:09:19 +01:00
Felix Pojtinger
23fdae32e9 feat: Start implementation of write operations 2021-12-20 22:00:19 +01:00
Felix Pojtinger
4f507fec62 fix: Use new error names in MTIO stubs 2021-12-20 01:58:34 +01:00
Felix Pojtinger
71d0647024 fix: Don't use platform-specific path libraries for tar-internal path parsing 2021-12-20 01:52:39 +01:00
Felix Pojtinger
4e249aad96 build: Add SQLite driver to depend target 2021-12-20 01:50:11 +01:00
Felix Pojtinger
932749d80a build: Add basic Hydrun CI config 2021-12-20 01:41:09 +01:00
Felix Pojtinger
7da639d673 fix: Support relative tar files containing only files and no root directory 2021-12-19 23:31:28 +01:00
Felix Pojtinger
63469ad8d1 feat: Support relative root directories without BasePathFs 2021-12-19 22:40:52 +01:00
Felix Pojtinger
ad3471c86a refactor: Decompose local prefix usage 2021-12-19 22:08:39 +01:00
Felix Pojtinger
6b627e04d7 feat: Add support for on-disk and in-memory caches with configurable duration 2021-12-19 19:18:52 +01:00
Felix Pojtinger
13ac4900c8 refactor: Make ftpsrv a subcommand of stbak, add decryption support 2021-12-19 18:13:49 +01:00
Felix Pojtinger
9ddb4a4ce2 refactor: Make httpsrv a subcommand of stbak, add decryption support 2021-12-19 17:53:06 +01:00
Felix Pojtinger
0835dcda2f fix: Return written bytes if there is a EOF error while reading/seeking 2021-12-19 01:50:57 +01:00
Felix Pojtinger
f13b984cb1 fix: Use file mode directly to prevent dir bit from being supressed 2021-12-19 01:34:52 +01:00
Felix Pojtinger
ee575c2abc feat: Start implementation of testing FTP server 2021-12-19 01:12:57 +01:00
Felix Pojtinger
d55a7e1be3 feat: Implement File.ReadAt 2021-12-18 23:42:42 +01:00
Felix Pojtinger
da97762f77 feat: Implement File.Readdirnames 2021-12-18 23:15:54 +01:00
Felix Pojtinger
ce1aab69a1 feat: Add list limit support 2021-12-18 23:12:52 +01:00
Felix Pojtinger
e51e59c2f5 feat: Add support for io.SeekStart, io.SeekCurrent and io.SeekEnd 2021-12-18 18:12:00 +01:00
Felix Pojtinger
f983bdd00e feat: Enable seeking form start without closeing files 2021-12-18 17:37:13 +01:00
Felix Pojtinger
7f5ddcfb78 feat: Add support for relative root directories 2021-12-18 03:36:15 +01:00
Felix Pojtinger
0c7cb7c1ec feat: Add basic STFS-backed Close and Seek implementations 2021-12-18 01:57:44 +01:00
Felix Pojtinger
44110382f7 feat: Add basic STFS-backed Read implementation 2021-12-17 21:57:51 +01:00
Felix Pojtinger
4bb2bd17f8 feat: Add basic implementation of File.Readdir 2021-12-17 18:39:00 +01:00
Felix Pojtinger
9fd72adf49 refactor: Decompose FileInfo conversion 2021-12-17 18:27:39 +01:00
Felix Pojtinger
3937e2bd7b fix: Prevent returning parent header when returning child header 2021-12-17 18:21:59 +01:00
Felix Pojtinger
fb59528889 feat: Start implementation of Afero FileSystem, File and FileInfo 2021-12-17 18:11:21 +01:00
Felix Pojtinger
321a1efa09 feat: Start implementation of Afero-based filesystem abstraction 2021-12-17 16:59:40 +01:00
Felix Pojtinger
c54e849c96 feat: Add io.Reader-based API to archive cmd 2021-12-15 23:14:22 +01:00
Felix Pojtinger
fef27b4385 refactor: Use string-backed enums consistently 2021-12-15 21:11:18 +01:00
Felix Pojtinger
e13b835624 feat: Add event type and pre/post-index logging 2021-12-15 02:06:18 +01:00
Felix Pojtinger
32f56cd05d refactor: Clear database tables instead of truncating 2021-12-15 00:40:31 +01:00
Felix Pojtinger
58b407cd4f refactor: Use explicit reader/writer instead of filepath for drive 2021-12-13 00:26:30 +01:00