Polysemy.Test.Files
tempPath :: Path Abs Dir -> Path Rel b -> Path Abs b Source #
tempDir :: Member (Embed IO) r => Path Abs Dir -> Path Rel Dir -> Sem r (Path Abs Dir) Source #
readFile :: Member (Embed IO) r => Path Abs File -> Sem r Text Source #
tempFile :: Member (Embed IO) r => Path Abs Dir -> [Text] -> Path Rel File -> Sem r (Path Abs File) Source #
tempFileContent :: Member (Embed IO) r => Path Abs Dir -> Path Rel File -> Sem r Text Source #
fixturePath :: Path Abs Dir -> Path Rel p -> Sem r (Path Abs p) Source #
fixture :: Member (Embed IO) r => Path Abs Dir -> Path Rel File -> Sem r Text Source #