add Remote.readonly
Does nothing yet. Considered making bup readonly, but while the content can't be removed, it is able to delete a branch, so didn't. This commit was supported by the NSF-funded DataLad project.
This commit is contained in:
parent
a3fa9ea0b5
commit
02630b39ee
17 changed files with 19 additions and 0 deletions
|
@ -122,6 +122,9 @@ data RemoteA a = Remote
|
|||
, localpath :: Maybe FilePath
|
||||
-- a Remote can be known to be readonly
|
||||
, readonly :: Bool
|
||||
-- a Remote can allow writes but not have a way to delete content
|
||||
-- from it
|
||||
, appendonly :: Bool
|
||||
-- a Remote can be globally available. (Ie, "in the cloud".)
|
||||
, availability :: Availability
|
||||
-- the type of the remote
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue