module Ecluse.Core.Registry.Cargo.Archive.Internal (
CargoArchiveMetadata (..),
) where
import Text.Show (showString, shows, showsPrec)
import Ecluse.Core.Registry.Cargo.Manifest (CargoManifest)
data CargoArchiveMetadata = CargoArchiveMetadata
{ CargoArchiveMetadata -> CargoManifest
caManifest :: CargoManifest
, CargoArchiveMetadata -> Set Text
caInventory :: Set Text
, CargoArchiveMetadata -> ByteString
caSource :: ByteString
, CargoArchiveMetadata -> Text
caRoot :: Text
, CargoArchiveMetadata -> Int
caRetainedBytes :: Int
, CargoArchiveMetadata -> Int
caManifestWorkspace :: Int
}
instance Show CargoArchiveMetadata where
showsPrec :: Int -> CargoArchiveMetadata -> ShowS
showsPrec Int
_ CargoArchiveMetadata
metadata = String -> ShowS
showString String
"CargoArchiveMetadata " ShowS -> ShowS -> ShowS
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Text -> ShowS
forall a. Show a => a -> ShowS
shows (CargoArchiveMetadata -> Text
caRoot CargoArchiveMetadata
metadata)