Charon.Data.Metadata
Description
Provides metadata functionality.
data Metadata Source #
Holds trash metadata.
Constructors
Fields
Number of top level entries in the trash index. This should be the same as the index length.
Number of total files in the trash.
Size of the log file.
Total size of the trash directory.
Defined in Charon.Data.Metadata
Associated Types
type Rep Metadata :: Type -> Type #
Methods
from :: Metadata -> Rep Metadata x #
to :: Rep Metadata x -> Metadata #
showsPrec :: Int -> Metadata -> ShowS #
show :: Metadata -> String #
showList :: [Metadata] -> ShowS #
rnf :: Metadata -> () #
(==) :: Metadata -> Metadata -> Bool #
(/=) :: Metadata -> Metadata -> Bool #
pretty :: Metadata -> Doc ann Source #
prettyList :: [Metadata] -> Doc ann Source #
labelOptic :: Optic k NoIx Metadata Metadata a b Source #
empty :: Metadata Source #
Empty metadata.