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