= DecryptedDirectory PrivateDirectory
| DecryptedFile PrivateFile
| DecryptedSymlink NameFilter CryptoAlgorithm Bytes
| DecryptedMovedTo UnlockPointer
data DecryptedFile = DecryptedFile
{ metadata :: Metadata -- NOTE includes events, &c
, bareName :: BareNameFilter
, revision :: SpiralRatchet
, algorithm :: CryptoAlgorithm
= Inline ByteString -- e.g. {inline: 0x123456}
| ExternalContent SpiralRatchet Natural -- Number of segments
data DecryptedDirectory = DecryptedDirectory
, bareNameFilter :: BareNameFilter
, ratchet :: SpiralRatchet
, links :: Map Text UnlockPointer