Copyright | (c) 2020-2021 Sam May |
---|---|
License | GPL-3.0-or-later |
Maintainer | ag@eitilt.life |
Stability | stable |
Portability | non-portable (requires libcdio) |
Safe Haskell | None |
Language | Haskell2010 |
Sound.Libcdio.Read.Filesystem
Description
Like any drive, discs may store their data according to many different
filesystem structures. These are abstracted to a degree in libcdio, but as
each track may store its data differently, and at the very least
Audio
is handled differently than any of the file-oriented layouts,
it is still helpful to know the underlying structure. This module, then, is a
counterpart to Sound.Libcdio.Read.Data, providing information about the
structure for the latter's retrieval of data.
Synopsis
- data Filesystem
- data FilesystemClass
- type FilesystemClasses = BitArray FilesystemClass
- fsAny :: FilesystemClasses
- fsAnyVcd :: FilesystemClasses
- data IsoAnalysis = IsoAnalysis {}
- trackType :: Track -> Cdio (Maybe Filesystem, FilesystemClasses, Maybe IsoAnalysis)
Types
data Filesystem #
Types of filesystem which may be read from a disc.
Instances
data FilesystemClass #
Higher-level descriptions of discs/filesystems.
Constructors
Xa | |
Multisession | |
PhotoCd | |
HiddenTrack | |
CommodoreCdtv | |
Bootable | |
VideoCd | |
RockRidge | |
Joliet | |
SuperVideoCd | |
ChoijiVideoCd | |
XboxIsoClass | |
Iso9660Class |
Instances
type FilesystemClasses = BitArray FilesystemClass #
A collection of disc/filesystem descriptions.
The set of every FilesystemClass
.
fsAnyVcd :: FilesystemClasses #
Any sort of Video CD.
data IsoAnalysis #
A collection of data describing a disc using the ISO 9660 standard.
Constructors
IsoAnalysis | |
Instances
Eq IsoAnalysis # | |
Defined in Foreign.Libcdio.CdTypes | |
Read IsoAnalysis # | |
Defined in Foreign.Libcdio.CdTypes Methods readsPrec :: Int -> ReadS IsoAnalysis # readList :: ReadS [IsoAnalysis] # readPrec :: ReadPrec IsoAnalysis # readListPrec :: ReadPrec [IsoAnalysis] # | |
Show IsoAnalysis # | |
Defined in Foreign.Libcdio.CdTypes Methods showsPrec :: Int -> IsoAnalysis -> ShowS # show :: IsoAnalysis -> String # showList :: [IsoAnalysis] -> ShowS # | |
Storable IsoAnalysis # | |
Defined in Foreign.Libcdio.CdTypes Methods sizeOf :: IsoAnalysis -> Int # alignment :: IsoAnalysis -> Int # peekElemOff :: Ptr IsoAnalysis -> Int -> IO IsoAnalysis # pokeElemOff :: Ptr IsoAnalysis -> Int -> IsoAnalysis -> IO () # peekByteOff :: Ptr b -> Int -> IO IsoAnalysis # pokeByteOff :: Ptr b -> Int -> IsoAnalysis -> IO () # peek :: Ptr IsoAnalysis -> IO IsoAnalysis # poke :: Ptr IsoAnalysis -> IsoAnalysis -> IO () # |
Query
trackType :: Track -> Cdio (Maybe Filesystem, FilesystemClasses, Maybe IsoAnalysis) #
Determine what type of file system is stored in the given track of a disc.