use per-remote metadata storage for S3 version ID
Since the same key can be stored in a versioned S3 bucket multiple times with different version IDs, this allows tracking them all. Not currently needed, but if we ever want to drop from a versioned S3 bucket, we'll need to know them all. This commit was supported by the NSF-funded DataLad project.
This commit is contained in:
parent
5c99f6247e
commit
b3d42283ad
4 changed files with 33 additions and 20 deletions
|
@ -96,7 +96,7 @@ getCurrentMetaData' getlogfile k = do
|
|||
showts = formatPOSIXTime "%F@%H-%M-%S"
|
||||
|
||||
getCurrentRemoteMetaData :: UUID -> Key -> Annex RemoteMetaData
|
||||
getCurrentRemoteMetaData u k = mkRemoteMetaData u <$>
|
||||
getCurrentRemoteMetaData u k = extractRemoteMetaData u <$>
|
||||
getCurrentMetaData' remoteMetaDataLogFile k
|
||||
|
||||
{- Adds in some metadata, which can override existing values, or unset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue