Safe Haskell | Safe-Infered |
---|
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 UniqueFileStore Source
newUniqueFileStore :: FilePath -> (FilePath -> IO ()) -> IO UniqueFileStoreSource
ensureDirectories :: UniqueFileStore -> String -> IO ()Source
getFilePath :: UniqueFileStore -> String -> FilePathSource