mw-ui.util

Utility functions used by other namespaces in this package.

cache-seq-match

(cache-seq-match path pattern)

Do the same processing that list-resources does on names fetched from the file system, except on the resource list cached at compile time.

compile-time-resources

The resources which were visible at compile time. If we are running from a JAR file, it is highly likely that these are all the resources available at run time.

list-resources

(list-resources directory pattern)

List resource files matching pattern in directory.

md->html

(md->html filename)

reads a markdown file from public/md and returns an HTML string

running-from-filesystem

We assume we’re running from the filesystem unless we find we’re not.