- data DiredBuffer = DiredBuffer {
- diredBufferCurrentDirectory :: TVar FilePath
- diredBufferClient :: Client
- diredBufferPageId :: PageId
- diredBufferFileInfoOptions :: [(FileInfoOption, SortColumnId)]
- diredBufferFileInfos :: TVar [DiredFileInfo]
- diredBufferSortStatus :: TVar (FileInfoOption, SortType)
- diredBufferIconPixbufDatabase :: TVar FileIconPixbufDatabase
- diredBufferMode :: PageMode
- diredBufferBroadcastChannel :: TChan DiredBufferSignal
- data DiredBufferSignal
- data DiredFileInfo = DiredFileInfo {
- dfiNameDescrible :: (String, String)
- dfiTypeDescrible :: (FileType, String)
- dfiSizeDescrible :: (Integer, String)
- dfiMimeDescrible :: (String, String)
- dfiMtimeDescrible :: (GTimeVal, String)
- dfiPermDescrible :: (String, String)
- data FileInfoOption
- = FIName
- | FISize
- | FIMime
- | FIMTime
- | FIPermission
- class DiredFileInfoClass a where
- getColumnTitle :: a -> String
- getCellText :: a -> DiredFileInfo -> String
- getCellXAlign :: a -> Float
- compareRow :: a -> DiredFileInfo -> DiredFileInfo -> IO Ordering
- diredBufferNew :: FilePath -> Client -> PageId -> IO DiredBuffer
- diredBufferListenChannel :: DiredBuffer -> IO ()
- diredBufferLoad :: DiredBuffer -> FilePath -> IO ()
- diredBufferGenerateFileInfos :: [FileInfo] -> IO [DiredFileInfo]
- diredFileInfoNameCompare :: DiredFileInfo -> DiredFileInfo -> Ordering
Documentation
data DiredBuffer Source
data DiredBufferSignal Source
data DiredFileInfo Source
DiredFileInfo | |
|
data FileInfoOption Source
class DiredFileInfoClass a whereSource
getColumnTitle :: a -> StringSource
getCellText :: a -> DiredFileInfo -> StringSource
getCellXAlign :: a -> FloatSource
compareRow :: a -> DiredFileInfo -> DiredFileInfo -> IO OrderingSource
diredBufferNew :: FilePath -> Client -> PageId -> IO DiredBufferSource
New.
diredBufferListenChannel :: DiredBuffer -> IO ()Source
Listen broadcast channel.
diredBufferLoad :: DiredBuffer -> FilePath -> IO ()Source
Load.
diredBufferGenerateFileInfos :: [FileInfo] -> IO [DiredFileInfo]Source
Get file infos.
diredFileInfoNameCompare :: DiredFileInfo -> DiredFileInfo -> OrderingSource
Compare file name.