deleteReference method

Future<void> deleteReference(
  1. ReferenceName refName
)

Implementation

Future<void> deleteReference(ReferenceName refName) async {
  var refFileName = p.join(dotGitDir, refName.value);
  await fs.file(refFileName).delete();

  // FIXME: What if it is in the packed-refs?
}