mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-06-24 01:39:26 -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
|
@ -15,7 +15,8 @@ class Signature {
|
|||
/// Creates new [Signature] from provided [name], [email], and optional [time]
|
||||
/// in seconds from epoch and [offset] in minutes.
|
||||
///
|
||||
/// If [time] isn't provided [Signature] will be created with a timestamp of 'now'.
|
||||
/// If [time] isn't provided [Signature] will be created with a timestamp of
|
||||
/// 'now'.
|
||||
///
|
||||
/// **IMPORTANT**: Should be freed to release allocated memory.
|
||||
Signature.create({
|
||||
|
@ -45,8 +46,9 @@ class Signature {
|
|||
|
||||
/// Creates a new action signature with default user and now timestamp.
|
||||
///
|
||||
/// This looks up the user.name and user.email from the configuration and uses the
|
||||
/// current time as the timestamp, and creates a new signature based on that information.
|
||||
/// This looks up the user.name and user.email from the configuration and
|
||||
/// uses the current time as the timestamp, and creates a new signature based
|
||||
/// on that information.
|
||||
static Signature defaultSignature(Repository repo) =>
|
||||
Signature(bindings.defaultSignature(repo.pointer));
|
||||
|
||||
|
@ -82,6 +84,7 @@ class Signature {
|
|||
|
||||
@override
|
||||
String toString() {
|
||||
return 'Signature{name: $name, email: $email, time: $time, offset: $offset}';
|
||||
return 'Signature{name: $name, email: $email, time: $time, '
|
||||
'offset: $offset}';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue