From a280e02102c9dda2ae39eda600713004f2ab28d9 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 27 Nov 2025 12:36:14 -0800 Subject: [PATCH] ;dev:comment --- hledger-lib/Hledger/Utils/IO.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/hledger-lib/Hledger/Utils/IO.hs b/hledger-lib/Hledger/Utils/IO.hs index 744f93916..2035b6648 100644 --- a/hledger-lib/Hledger/Utils/IO.hs +++ b/hledger-lib/Hledger/Utils/IO.hs @@ -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 -- zero or more matched absolute file paths, alphabetically sorted. -- Can raise an error. +-- For a more elaborate glob expander, see 'findMatchedFiles' (used by the include directive). expandGlob :: FilePath -> FilePath -> IO [FilePath] expandGlob curdir p = expandPath curdir p >>= glob <&> sort -- PARTIAL: