git.iko.soy/typeable/pandoc
on master help sign in
Class: make FileTree opaque.

This forces uses to interact with it using `insertInFileTree` and `getFileInfo`, which normalize file names.

commitda64e5baa4de1f2caa9b0e338af685d70bc32f29 authorJohn MacFarlane <jgm@berkeley.edu> dateThu 28 Dec 2017, 10:30 (9 years ago) parent346b103
1 file changed+1−1
src/Text/Pandoc/Class.hs+1−1
src/Text/Pandoc/Class.hs+1−1
@@ -78,7 +78,7 @@ module Text.Pandoc.Class ( PandocMonad(..)
7878 , getResourcePath
7979 , PandocIO(..)
8080 , PandocPure(..)
81− , FileTree(..)
81+ , FileTree
8282 , FileInfo(..)
8383 , addToFileTree
8484 , insertInFileTree