mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
feat: prototype config api
This commit is contained in:
parent
0fe3fa9f23
commit
1c6c5579d7
5 changed files with 253 additions and 1 deletions
8
example/repository_example.dart
Normal file
8
example/repository_example.dart
Normal file
|
@ -0,0 +1,8 @@
|
|||
import 'dart:io';
|
||||
|
||||
import 'package:libgit2dart/libgit2dart.dart';
|
||||
|
||||
void main() {
|
||||
final repo = Repository.open(Directory.current.path);
|
||||
print('Path to git repository: ${repo.path}');
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue