Commit Graph

11 Commits

Author SHA1 Message Date
Ingo Oppermann
385628382c Fix linter error 2024-09-05 14:10:16 +02:00
Ingo Oppermann
3756ce4977 Add AppendFileReader to filesystem, allows session logging with less I/O 2024-08-20 17:34:50 +02:00
Ingo Oppermann
1327fd6e21 Add memfs storage based on dolthub's swiss maps 2024-08-20 14:14:47 +02:00
Ingo Oppermann
46950372be WIP: Optimize copy from io.Reader, allow to suggest file size 2024-07-24 15:40:28 +02:00
Ingo Oppermann
91d07c6013 Replace memfs storage backend with a faster one 2024-03-15 14:48:32 +01:00
Ingo Oppermann
97a8e0f815 Use same permission mask 2023-07-19 17:41:02 +02:00
Ingo Oppermann
a692f88b69 Add DELETE /api/v3/fs/:storage endpoint
Works similar to the GET endpoint. It has the same query parameter (without
"sort" and "order"). A glob pattern has to be provided. To select all
files, use the glob pattern "/**".
2023-03-17 17:05:56 +01:00
Ingo Oppermann
7e7aadc6cb Allow to bulk delete files based on ListOptions 2023-03-17 15:56:15 +01:00
Ingo Oppermann
ecfbbe3857 Allow to list files by ranges of size and/or lastmod
The listing options are implemented by the query parameters size_min,
size_max, lastmod_start, and lastmod_end, or by the new ListOptions
type. size_min and size_max expect a number of bytes, lastmod_start
and lastmod_end expect a unix timestamp. All values are inclusive.
2023-03-17 15:15:20 +01:00
Ingo Oppermann
a3ff16ef30 Add PUT /api/v3/fs endpoint for file operations 2023-03-03 14:26:17 +01:00
Ingo Oppermann
2a3288ffd0 Use abstract filesystem for stores 2023-02-01 16:09:20 +01:00