Class: make FileTree opaque.

This forces uses to interact with it using
`insertInFileTree` and `getFileInfo`, which normalize
file names.
This commit is contained in:
John MacFarlane 2017-12-28 10:30:29 -08:00
parent 346b10392f
commit da64e5baa4

View file

@ -78,7 +78,7 @@ module Text.Pandoc.Class ( PandocMonad(..)
, getResourcePath , getResourcePath
, PandocIO(..) , PandocIO(..)
, PandocPure(..) , PandocPure(..)
, FileTree(..) , FileTree
, FileInfo(..) , FileInfo(..)
, addToFileTree , addToFileTree
, insertInFileTree , insertInFileTree