diff --git a/example/example.dart b/example/example.dart new file mode 100644 index 0000000..ccc7c31 --- /dev/null +++ b/example/example.dart @@ -0,0 +1,10 @@ +import 'dart:io'; + +import 'package:libgit2dart/libgit2dart.dart'; + +void main() { + final repo = Repository.open(Directory.current.path); + print(repo.path); + + stdout.write(repo.headCommit); +}