Skip to content

Commit

Permalink
Expose findExecutables #14
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Feb 17, 2015
1 parent 21e8bed commit 2921280
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion System/Directory.hs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ module System.Directory
, canonicalizePath
, makeRelativeToCurrentDirectory
, findExecutable
, findExecutables
, findFile
, findFiles
, findFilesWith
Expand Down Expand Up @@ -755,7 +756,7 @@ findExecutable fileName = do
-- | Given a file name, searches for the file and returns a list of all
-- occurences that are executable.
--
-- /Since: 1.2.1.0/
-- /Since: 1.2.2.0/
findExecutables :: String -> IO [FilePath]
findExecutables binary = do
#if defined(mingw32_HOST_OS)
Expand Down
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

* Avoid stack overflow in `getDirectoryContents` [#17](https://github.com/haskell/directory/pull/17)

* Expose `findExecutables` [#14](https://github.com/haskell/directory/issues/14)

## 1.2.1.0 *Mar 2014*

* Bundled with GHC 7.8.1
Expand Down

0 comments on commit 2921280

Please sign in to comment.