getRevali method

Future<Directory> getRevali()

The directory within the root directory specifically used for revali

The directory may NOT exist

Implementation

Future<Directory> getRevali() async {
  final root = await getRoot();

  if (root == null) {
    throw Exception('Failed to find project root');
  }

  return root.childDirectory('.revali');
}