Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- defaultPerHref :: PerHrefAipCon ()
- defaultOnAipRecords :: OnAipRecordsIO ()
- removeDate :: OnAipRecordsIO [FilePath]
- getSymbolicLinkTarget' :: FilePath -> IO (Maybe FilePath)
- latestLinkList :: Either IOException (Maybe FilePath, FilePath, FilePath) -> [FilePath]
- latestLink :: OnAipRecordsIO (Either IOException (Maybe FilePath, FilePath, FilePath))
- followLinks :: FilePath -> IO FilePath
- archive :: [FilePath] -> OnAipRecordsIO (Either IOException [(FilePath, ExitCode)])
- timeLink :: OnAipRecordsIO [FilePath]
- doRelative :: (FilePath, FilePath) -> FilePath -> (FilePath, FilePath)
- removeIfExistsThenCreateDirectoryLink :: FilePath -> FilePath -> IO (Maybe FilePath)
- mkdir :: String -> IO ()
- removeFileIfExists :: FilePath -> IO ()
- removeDateFilePath :: FilePath -> FilePath
Documentation
defaultPerHref :: PerHrefAipCon () Source #
latestLinkList :: Either IOException (Maybe FilePath, FilePath, FilePath) -> [FilePath] Source #
archive :: [FilePath] -> OnAipRecordsIO (Either IOException [(FilePath, ExitCode)]) Source #
doRelative :: (FilePath, FilePath) -> FilePath -> (FilePath, FilePath) Source #
>>>
doRelative ("/a/b/c/d/e", "/a/b/c") "/a/b"
("/a/b/c/d/e","../../c")
>>>
doRelative ("/a/b/c/d/e", "/a/b/c/x") "/a/b"
("/a/b/c/d/e","../../c/x")
>>>
doRelative ("/a/b/c/d/e", "/a/b/c/x") "/a"
("/a/b/c/d/e","../../../b/c/x")
removeFileIfExists :: FilePath -> IO () Source #