Safe Haskell | None |
---|
- class ToLazyByteString a where
- toLazyByteString :: a -> ByteString
- toApplication :: Herringbone -> Application
- lookupFile :: Herringbone -> Pieces -> IO LookupResult
- toLogicalPath :: Pieces -> LogicalPath
- toFile :: FilePath -> FilePath -> Piece -> IO File
- toEpochTime :: UTCTime -> EpochTime
- assetCompileError :: CompileError -> File
- ambiguousSources :: [FilePath] -> File
- fileError :: ByteString -> Piece -> File
Documentation
class ToLazyByteString a whereSource
toLazyByteString :: a -> ByteStringSource
toApplication :: Herringbone -> ApplicationSource
Convert a Herringbone
to a WAI Application
.
lookupFile :: Herringbone -> Pieces -> IO LookupResultSource
toLogicalPath :: Pieces -> LogicalPathSource
assetCompileError :: CompileError -> FileSource
ambiguousSources :: [FilePath] -> FileSource
fileError :: ByteString -> Piece -> FileSource