read static method

Future<KnowledgeProjectFiles> read(
  1. String configPath
)

wayfinder.json at configPath and the wayfinder.lock beside it, as they are now.

Implementation

static Future<KnowledgeProjectFiles> read(String configPath) async {
  final config = p.normalize(File(configPath).absolute.path);
  return _of([config, p.join(p.dirname(config), 'wayfinder.lock')]);
}