removeReferences method
Implementation
Future<void> removeReferences(String prefix) async {
assert(prefix.startsWith(refPrefix));
var refLocation = p.join(dotGitDir, prefix);
var dir = fs.directory(refLocation);
if (!dir.existsSync()) {
return;
}
await dir.delete(recursive: true);
return;
}