getDataDirectory function

Future<Directory> getDataDirectory(
  1. Config config
)

Implementation

Future<Directory> getDataDirectory(Config config) async {
  return _getOrThrow(
    fs.directory(config.build.dataDir),
  );
}