hindent-6.0.0: Extensible Haskell pretty printer
Safe HaskellSafe-Inferred
LanguageHaskell2010

HIndent.Path.Find

Description

Finding files. Lifted from Stack.

Synopsis

Documentation

findFileUp Source #

Arguments

:: (MonadIO m, MonadThrow m) 
=> Path Abs Dir

Start here.

-> (Path Abs File -> Bool)

Predicate to match the file.

-> Maybe (Path Abs Dir)

Do not ascend above this directory.

-> m (Maybe (Path Abs File))

Absolute file path.

Find the location of a file matching the given predicate.