;dev:comment
This commit is contained in:
parent
63afecbe54
commit
a280e02102
@ -416,6 +416,7 @@ expandPath curdir p = (if isRelative p then (curdir </>) else id) <$> expandHome
|
|||||||
-- | Like expandPath, but treats the expanded path as a glob, and returns
|
-- | Like expandPath, but treats the expanded path as a glob, and returns
|
||||||
-- zero or more matched absolute file paths, alphabetically sorted.
|
-- zero or more matched absolute file paths, alphabetically sorted.
|
||||||
-- Can raise an error.
|
-- Can raise an error.
|
||||||
|
-- For a more elaborate glob expander, see 'findMatchedFiles' (used by the include directive).
|
||||||
expandGlob :: FilePath -> FilePath -> IO [FilePath]
|
expandGlob :: FilePath -> FilePath -> IO [FilePath]
|
||||||
expandGlob curdir p = expandPath curdir p >>= glob <&> sort -- PARTIAL:
|
expandGlob curdir p = expandPath curdir p >>= glob <&> sort -- PARTIAL:
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user