mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
chore: migrate from pedantic to lints package
This commit is contained in:
parent
2c28fddcec
commit
145af3054d
6 changed files with 8 additions and 7 deletions
|
@ -365,9 +365,9 @@ void setWorkdir(
|
|||
bool updateGitlink,
|
||||
) {
|
||||
final workdir = path.toNativeUtf8().cast<Int8>();
|
||||
final update_gitlink = updateGitlink ? 1 : 0;
|
||||
final updateGitlinkC = updateGitlink ? 1 : 0;
|
||||
final error =
|
||||
libgit2.git_repository_set_workdir(repo, workdir, update_gitlink);
|
||||
libgit2.git_repository_set_workdir(repo, workdir, updateGitlinkC);
|
||||
calloc.free(workdir);
|
||||
|
||||
if (error < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue