fs: add new backend feature NoMultiThreading

This should be set for backends which can't support simultaneous reads
from different offsets in a single file.
This commit is contained in:
Nick Craig-Wood 2023-05-09 17:40:11 +01:00
parent a9e7e7bcc2
commit 72be80ddca

View File

@ -31,6 +31,7 @@ type Features struct {
UserMetadata bool // can read/write general purpose metadata UserMetadata bool // can read/write general purpose metadata
FilterAware bool // can make use of filters if provided for listing FilterAware bool // can make use of filters if provided for listing
PartialUploads bool // uploaded file can appear incomplete on the fs while it's being uploaded PartialUploads bool // uploaded file can appear incomplete on the fs while it's being uploaded
NoMultiThreading bool // set if can't have multiplethreads on one download open
// Purge all files in the directory specified // Purge all files in the directory specified
// //