mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-09-19 12:32:26 +08:00
@ -169,6 +169,14 @@ class GitNoteRepository {
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
|
||||
Future<int> numChanges() async {
|
||||
try {
|
||||
var repo = await git.GitRepository.load(gitDirPath);
|
||||
return repo.numChangesToPush();
|
||||
} catch (_) {}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
const ignoredMessages = [
|
||||
|
Reference in New Issue
Block a user