diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2017-12-28 10:30:29 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2017-12-28 16:39:52 -0800 |
| commit | da64e5baa4de1f2caa9b0e338af685d70bc32f29 (patch) | |
| tree | b072c89c3cd191ff55347320dda3ed1722e1efe2 | |
| parent | 346b10392f93fae682657c44399245250eddfee4 (diff) | |
| download | pandoc-da64e5baa4de1f2caa9b0e338af685d70bc32f29.tar.gz | |
Class: make FileTree opaque.
This forces uses to interact with it using
`insertInFileTree` and `getFileInfo`, which normalize
file names.
| -rw-r--r-- | src/Text/Pandoc/Class.hs | 2 |
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 |
