mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-07 05:19:08 -04:00
style: avoid lines longer than 80 characters
This commit is contained in:
parent
a806d0a312
commit
7b14ee6b9b
76 changed files with 1246 additions and 972 deletions
|
@ -12,9 +12,9 @@ class Oid {
|
|||
/// pointer to Oid object in memory.
|
||||
Oid(this._oidPointer);
|
||||
|
||||
/// Initializes a new instance of [Oid] class by determining if an object can be found
|
||||
/// in the ODB of [repo]sitory with provided hexadecimal [sha] string that is 40 characters
|
||||
/// long or shorter.
|
||||
/// Initializes a new instance of [Oid] class by determining if an object can
|
||||
/// be found in the ODB of [repo]sitory with provided hexadecimal [sha]
|
||||
/// string that is 40 characters long or shorter.
|
||||
///
|
||||
/// Throws [ArgumentError] if provided [sha] hex string is not valid.
|
||||
///
|
||||
|
@ -37,7 +37,8 @@ class Oid {
|
|||
}
|
||||
}
|
||||
|
||||
/// Initializes a new instance of [Oid] class from provided raw git_oid structure.
|
||||
/// Initializes a new instance of [Oid] class from provided raw git_oid
|
||||
/// structure.
|
||||
Oid.fromRaw(git_oid raw) {
|
||||
_oidPointer = bindings.fromRaw(raw.id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue