aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-12-28 10:30:29 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-12-28 16:39:52 -0800
commitda64e5baa4de1f2caa9b0e338af685d70bc32f29 (patch)
treeb072c89c3cd191ff55347320dda3ed1722e1efe2 /src
parent346b10392f93fae682657c44399245250eddfee4 (diff)
downloadpandoc-da64e5baa4de1f2caa9b0e338af685d70bc32f29.tar.gz
Class: make FileTree opaque.
This forces uses to interact with it using `insertInFileTree` and `getFileInfo`, which normalize file names.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Class.hs2
1 files changed, 1 insertions, 1 deletions
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