Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- moveUp :: FileTree a -> EventM String (FileTree a)
- moveDown :: FileTree a -> EventM String (FileTree a)
- pageUp :: FileTree a -> EventM String (FileTree a)
- pageDown :: FileTree a -> EventM String (FileTree a)
- moveToTop :: FileTree a -> EventM String (FileTree a)
- moveToBottom :: FileTree a -> EventM String (FileTree a)
- ascendDir :: FileTree a -> EventM String (FileTree a)
- descendDir :: FileTree a -> EventM String (FileTree a)
- getCurrentFilePath :: FileTree a -> Maybe FilePath
- getCurrentDir :: FileTree a -> FilePath
- toggleFlagged :: FileTree a -> EventM String (FileTree a)
- getFlagged :: FileTree a -> [FilePath]
- toggleFlaggedVisible :: FileTree a -> FileTree a
Documentation
moveToTop :: FileTree a -> EventM String (FileTree a) Source #
Move the cursor the the top of the file list
moveToBottom :: FileTree a -> EventM String (FileTree a) Source #
Move the cursor the the bottom of the file list
ascendDir :: FileTree a -> EventM String (FileTree a) Source #
Move the cursor up a directory in the file tree
descendDir :: FileTree a -> EventM String (FileTree a) Source #
If the cursor is on a directory then descend the cursor into that dir If the cursor is on a file nothing happens
getCurrentFilePath :: FileTree a -> Maybe FilePath Source #
Get the absolute path of the object (dir or file) under the cursor
getCurrentDir :: FileTree a -> FilePath Source #
Get the absolute path of the directory where the cursor currently is.
toggleFlagged :: FileTree a -> EventM String (FileTree a) Source #
Flag or unflag the current file or dir
getFlagged :: FileTree a -> [FilePath] Source #
Get all flagged file paths. All paths are absolute
toggleFlaggedVisible :: FileTree a -> FileTree a Source #
Hide/Show a list of all flagged files