From a1481564b28d7d36e6196e2c77270ef3401abd5f Mon Sep 17 00:00:00 2001 From: Aleksey Kulikov Date: Tue, 1 Jun 2021 20:42:48 +0300 Subject: [PATCH] feat: add basic example --- example/example.dart | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 example/example.dart 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); +}