mirror of
https://github.com/rclone/rclone.git
synced 2025-08-19 09:52:05 +02:00
fs: create Overlay feature flag to indicate backend wraps others
Set this automatically for any backend which implements UnWrap and manually for combine and union which can't implement UnWrap but do overlay other backends.
This commit is contained in:
@@ -299,6 +299,9 @@ func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (outFs fs
|
||||
}
|
||||
}
|
||||
|
||||
// show that we wrap other backends
|
||||
features.Overlay = true
|
||||
|
||||
f.features = features
|
||||
|
||||
// Get common intersection of hashes
|
||||
|
Reference in New Issue
Block a user