diff --git a/lib/Bastion/Curator.py b/lib/Bastion/Curator.py index 22eb5d5..9902b7f 100644 --- a/lib/Bastion/Curator.py +++ b/lib/Bastion/Curator.py @@ -128,7 +128,7 @@ def drift(self): #-- {quantim} is the 8 character encoding of timestamp using the Quantim method #-- A if the blob is an anchor (full backup) and D if the blob is a differential. #-- {anchor} - is a 3 character random string that cannot conflict with any other anchors currently in the archive. -class Manifest: +class Manifest(canTextify): """ I represent the chronicled archive of some dataset. I hold a series of "snaps". @@ -205,6 +205,14 @@ def anchors(self): """ return tuple(sorted(self._anchors.values, key = lambda item: item.RDN)) + #------------------------ + #-- canTextify protocol | + #↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ + def toJDN(self, **kwargs): + return [str(item) for item in self] + #↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ + #-- canTextify protocol | + #------------------------ class Snap: