Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/Streamly/Coreutils/Ls.hs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ import qualified Streamly.Internal.FileSystem.DirIO as Dir

-- Note: We can also have options to follow symlinks and other dir traversal
-- options once we decide on a good Configuration API.
--
-- XXX ls is more of a printing to console tool. We can return chunked arrays
-- with newlines and short or long info in this API which are directly
-- printable. In the "find" API we can return Path and structured Stat data
-- instead for programmatic control.
newtype Ls = Ls {lsRecursive :: Switch}

defaultConfig :: Ls
Expand Down
Loading