Commit Graph

65 Commits

Author SHA1 Message Date
Felicitas Pojtinger
6901b7f78a fix: Use correct path to on-disk write cache cleanup function 2021-12-26 00:13:55 +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
cbf347aa04 fix: Delete cache dir to prevent inconsistent reads 2021-12-25 20:54:15 +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
2c3646aaa6 fix: Prevent trying to access nil maps in PAXHeaders 2021-12-20 22:09:19 +01:00
Felicitas Pojtinger
07c0abff55 feat: Start implementation of write operations 2021-12-20 22:00:19 +01:00
Felicitas Pojtinger
7884d34ba2 fix: Use new error names in MTIO stubs 2021-12-20 01:58:34 +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
092f8ed240 build: Add SQLite driver to depend target 2021-12-20 01:50:11 +01:00
Felicitas Pojtinger
07f7af284d build: Add basic Hydrun CI config 2021-12-20 01:41:09 +01:00
Felicitas Pojtinger
c778a83bf1 fix: Support relative tar files containing only files and no root directory 2021-12-19 23:31:28 +01:00
Felicitas Pojtinger
303add8714 feat: Support relative root directories without BasePathFs 2021-12-19 22:40:52 +01:00
Felicitas Pojtinger
c25c3c98be refactor: Decompose local prefix usage 2021-12-19 22:08:39 +01:00
Felicitas Pojtinger
5fd3987855 feat: Add support for on-disk and in-memory caches with configurable duration 2021-12-19 19:18:52 +01:00
Felicitas Pojtinger
535cb0c97e refactor: Make ftpsrv a subcommand of stbak, add decryption support 2021-12-19 18:13:49 +01:00
Felicitas Pojtinger
5f4d0f9628 refactor: Make httpsrv a subcommand of stbak, add decryption support 2021-12-19 17:53:06 +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
20b9b4f36f feat: Add support for relative root directories 2021-12-18 03:36:15 +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
Felicitas Pojtinger
f528c84d3d fix: Prevent returning parent header when returning child header 2021-12-17 18:21:59 +01:00
Felicitas Pojtinger
97a61beaa7 feat: Start implementation of Afero FileSystem, File and FileInfo 2021-12-17 18:11:21 +01:00
Felicitas Pojtinger
b2cbad8ee6 feat: Start implementation of Afero-based filesystem abstraction 2021-12-17 16:59:40 +01:00
Felicitas Pojtinger
129cfab84a feat: Add io.Reader-based API to archive cmd 2021-12-15 23:14:22 +01:00
Felicitas Pojtinger
8d922ccd81 refactor: Use string-backed enums consistently 2021-12-15 21:11:18 +01:00
Felicitas Pojtinger
ae7e418891 feat: Add event type and pre/post-index logging 2021-12-15 02:06:18 +01:00