aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-02-02 12:36:32 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-02-02 12:36:32 -0800
commit00cd11c6e23fd6d99015a3238a22b09a33472006 (patch)
tree495b4e3264e2b1503388bbe815a96865cc14d416 /src/Text
parentcb1ede5b085e1372e400f1ff3b0d52ff684f6db7 (diff)
downloadpandoc-00cd11c6e23fd6d99015a3238a22b09a33472006.tar.gz
Shared: withTempDir is no longer used in the codebase.
Add comment to remove it in next major release.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Shared.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs
index 4efdbba61..0a9003538 100644
--- a/src/Text/Pandoc/Shared.hs
+++ b/src/Text/Pandoc/Shared.hs
@@ -887,6 +887,8 @@ safeRead s = case reads s of
-- Temp directory
--
+-- TODO remove in next major release; this is no longer
+-- used in the code base.
withTempDir :: String -> (FilePath -> IO a) -> IO a
withTempDir =
#ifdef _WINDOWS