PressDirectory constructor

PressDirectory(
  1. String path, {
  2. String mount = '/',
  3. MdcParser parser = const MdcParser(),
  4. bool includeDrafts = false,
})

Creates a file-system content collection.

Implementation

PressDirectory(
  String path, {
  String mount = '/',
  this.parser = const MdcParser(),
  this.includeDrafts = false,
}) : root = Directory(path).absolute,
     mount = _mount(mount);