rmFileFromIndex method

Future<GitHash?> rmFileFromIndex(
  1. GitIndex index,
  2. String filePath
)

Implementation

Future<GitHash?> rmFileFromIndex(GitIndex index, String filePath) async {
  var pathSpec = toPathSpec(normalizePath(filePath));
  return index.removePath(pathSpec);
}