mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
style: use fat arrow for single-line methods
This commit is contained in:
parent
84ee4be945
commit
5675f9265c
9 changed files with 9 additions and 27 deletions
|
@ -138,9 +138,7 @@ class Index {
|
|||
void removeAll(List<String> path) => bindings.removeAll(_indexPointer, path);
|
||||
|
||||
/// Releases memory allocated for index object.
|
||||
void free() {
|
||||
bindings.free(_indexPointer);
|
||||
}
|
||||
void free() => bindings.free(_indexPointer);
|
||||
}
|
||||
|
||||
class IndexEntry {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue