Safe Haskell | None |
---|---|
Language | Haskell2010 |
UniqueFile is used for allocating names for temporary files in a directory. To avoid large numbers of files in the same directory, we create sub- directories where necessary.
Documentation
data UniqueFileCounter Source #
Instances
Read UniqueFileCounter Source # | |
Defined in Util.UniqueFile | |
Show UniqueFileCounter Source # | |
Defined in Util.UniqueFile showsPrec :: Int -> UniqueFileCounter -> ShowS # show :: UniqueFileCounter -> String # showList :: [UniqueFileCounter] -> ShowS # |
data UniqueFileStore Source #
newUniqueFileStore :: FilePath -> (FilePath -> IO ()) -> IO UniqueFileStore Source #
ensureDirectories :: UniqueFileStore -> String -> IO () Source #
getFilePath :: UniqueFileStore -> String -> FilePath Source #