| Copyright | (c) Jonas Weber, 2015 |
|---|---|
| License | ISC |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Text.Pandoc.PlantUML.Filter.FileNameGenerator
Description
This package does its best to avoid rerendering the same diagrams (as in, with the same source) if not neccessary. It uses a cryptographic hash (namely SHA1) to get a stable identifier for the contents.
Documentation
fileNameForSource :: DiagramSource -> ImageName Source
Generates the Hash of a diagram source, and prefixes that.