tahoe-directory-0.1.0.0: Tahoe-LAFS directory-like abstraction for collections of data objects.
Safe HaskellNone
LanguageHaskell2010

Tahoe.Directory.Internal.Types

Synopsis

Documentation

newtype Directory Source #

A collection of references to other objects.

Constructors

Directory 

Instances

Instances details
Eq Directory Source # 
Instance details

Defined in Tahoe.Directory.Internal.Types

Show Directory Source # 
Instance details

Defined in Tahoe.Directory.Internal.Types

data Entry Source #

A reference to an object of any kind.

Constructors

Entry 

Fields

  • entryName :: Text

    The name of this entry in its containing directory. XXX What if UTF-8 decoding fails?

  • entryReader :: ByteString

    A capability for reading the contents of this entry. XXX Structured cap instead

  • entryEncryptedWriter :: ByteString

    An encrypted capability for performing writes to this entry. XXX Document the encryption scheme.

  • entryMetadata :: ByteString

    Additional metadata about this entry such as last modification time. XXX How to represent this mixed type collection?

Instances

Instances details
Eq Entry Source # 
Instance details

Defined in Tahoe.Directory.Internal.Types

Methods

(==) :: Entry -> Entry -> Bool #

(/=) :: Entry -> Entry -> Bool #

Show Entry Source # 
Instance details

Defined in Tahoe.Directory.Internal.Types

Methods

showsPrec :: Int -> Entry -> ShowS #

show :: Entry -> String #

showList :: [Entry] -> ShowS #