- data ResourcePath
- rezPathToString :: ResourcePath -> String
- downloadBinary :: (Monad m, IOMockable m) => Loggers m -> URI -> m (URI, Response ByteString)
- accessResourcePath :: (Monad m, IOMockable m, Functor m) => Loggers m -> ResourcePath -> m (AccessResult a ResourcePath)
- rawLoadData :: (Monad m, IOMockable m) => Loggers m -> ResourcePath -> m (Maybe ByteString)
Main data type
Represent a file stored on the hard-drive of this machine.
Represent a ressource spread on internet.
Given a ressource, transforme it to a string
representation. This function should be used instead
Show instance, which is aimed at debugging
Helper function to grab a resource on internet and returning it's binary representation, and it's real place if any.