validateLinkConfig function
Implementation
Future<ValidationErrors> validateLinkConfig(LinkConfig config) async {
final errors = <String>[
..._validateHookConfig(config),
];
final recordUses = config.recordedUsagesFile;
if (recordUses != null && !File.fromUri(recordUses).existsSync()) {
errors.add('Config.recordUses ($recordUses) does not exist.');
}
return errors;
}