refactor: use classes instead of enums for git types

This commit is contained in:
Aleksey Kulikov 2021-09-03 18:19:44 +03:00
parent ebfc67ee0d
commit da3bda077a
15 changed files with 135 additions and 77 deletions

View file

@ -4,7 +4,7 @@ import 'bindings/revparse.dart' as bindings;
import 'commit.dart';
import 'reference.dart';
import 'repository.dart';
import 'enums.dart';
import 'git_types.dart';
class RevParse {
/// Finds a single object and intermediate reference (if there is one) by a [spec] revision string.