read

fun read(read: (String) -> String?, dir: String): DirectoryRead?(source)

Null when dir holds no capsule.json, so the caller can try it as a capsule file.