mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
feat: upgrade libgit2 to 1.4.3
This commit is contained in:
parent
94fbb8317f
commit
f42f8a6e1b
10 changed files with 20 additions and 7 deletions
|
@ -8,7 +8,7 @@ import 'package:libgit2dart/src/bindings/libgit2_bindings.dart';
|
|||
import 'package:path/path.dart' as path;
|
||||
import 'package:pub_cache/pub_cache.dart';
|
||||
|
||||
const libgit2Version = '1.4.2';
|
||||
const libgit2Version = '1.4.3';
|
||||
final libDir = path.join('.dart_tool', 'libgit2');
|
||||
|
||||
String getLibName() {
|
||||
|
@ -25,7 +25,7 @@ String getLibName() {
|
|||
return 'libgit2-$libgit2Version.$ext';
|
||||
}
|
||||
|
||||
/// Checks if [File]/[Link] exists for an [uri].
|
||||
/// Checks if [File]/[Link] exists for [path].
|
||||
bool _doesFileExist(String path) {
|
||||
return File(path).existsSync() || Link(path).existsSync();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue