BSD-2-Clause licensed and maintained by Michael Snoyman
This version can be pinned in stack with:file-embed-0.0.16.0@sha256:2e8983240c1faae020b4acef6d30f0281f5ec87c2f38736dc1dc5456355e22a5,1426

Module documentation for 0.0.16.0

file-embed

Tests

Use Template Haskell to read a file or all the files in a directory, and turn them into (path, bytestring) pairs embedded in your haskell code.

Changes

ChangeLog for file-embed

0.0.16.0

  • Add embedFileRelative

0.0.15.0

  • Add makeRelativeToLocationPredicate

0.0.14.0

  • Add embedFileIfExists

0.0.13.0

  • Ensure that directory listings are returned in sorted order for reproducibility yesodweb/yesod#1684

0.0.12.0

  • Use the Bytes literal on newer GHCs to reduce memory usage during compilation #36

0.0.11.2

  • Haddock markup fix

0.0.11.1

  • Support GHC 8.10

0.0.11

  • embedDirListing #26

0.0.10.1

  • Minor doc improvements

0.0.10

  • makeRelativeToProject

0.0.9

  • embedStringFile #14

0.0.8.2

  • Improve inject documentation #11

0.0.8.1

Minor cleanup

0.0.8

  • Custom postfix for magic string #7

0.0.7.1

Minor cleanup