style: use conts for constructors

This commit is contained in:
Aleksey Kulikov 2021-09-23 10:48:23 +03:00
parent e0e16aea30
commit 7187d890d6
17 changed files with 39 additions and 69 deletions

View file

@ -10,9 +10,7 @@ class Signature {
/// signature object in memory.
///
/// Should be freed with `free()` to release allocated memory.
Signature(this._signaturePointer) {
libgit2.git_libgit2_init();
}
Signature(this._signaturePointer);
/// Initializes a new instance of [Signature] class from provided [name], [email],
/// and optional [time] in seconds from epoch and [offset] in minutes.