From da64e5baa4de1f2caa9b0e338af685d70bc32f29 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 28 Dec 2017 10:30:29 -0800 Subject: Class: make FileTree opaque. This forces uses to interact with it using `insertInFileTree` and `getFileInfo`, which normalize file names. --- src/Text/Pandoc/Class.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/Class.hs b/src/Text/Pandoc/Class.hs index f93ddc7d1..f8d6b6737 100644 --- a/src/Text/Pandoc/Class.hs +++ b/src/Text/Pandoc/Class.hs @@ -78,7 +78,7 @@ module Text.Pandoc.Class ( PandocMonad(..) , getResourcePath , PandocIO(..) , PandocPure(..) - , FileTree(..) + , FileTree , FileInfo(..) , addToFileTree , insertInFileTree -- cgit v1.2.3