- data Pack = Pack {
- packVersion :: Int
- packNumObjects :: Int
- packObjects :: [PackObject]
- data PackObject = PackObject {
- poType :: PackObjectType
- poSize :: Int
- poData :: ByteString
- data PackObjectType
- packPretty :: Pack -> ByteString
- packObjectPretty :: ByteString -> PackObject -> ByteString
- packRead :: FilePath -> IO (Maybe Pack)
- packReadObject :: FilePath -> FileOffset -> IO (Maybe PackObject)
- packPath :: String -> IO FilePath
Types
data PackObject Source
PackObject | |
|
packPretty :: Pack -> ByteStringSource
Iteratee
packReadObject :: FilePath -> FileOffset -> IO (Maybe PackObject)Source