mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -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
|
@ -39,8 +39,8 @@ bool isBinary(Pointer<git_blob> blob) {
|
|||
/// Get a read-only buffer with the raw content of a blob.
|
||||
///
|
||||
/// A pointer to the raw content of a blob is returned; this pointer is owned
|
||||
/// internally by the object and shall not be free'd. The pointer may be invalidated
|
||||
/// at a later time.
|
||||
/// internally by the object and shall not be free'd. The pointer may be
|
||||
/// invalidated at a later time.
|
||||
String content(Pointer<git_blob> blob) {
|
||||
return libgit2.git_blob_rawcontent(blob).cast<Utf8>().toDartString();
|
||||
}
|
||||
|
@ -101,7 +101,8 @@ Pointer<git_oid> createFromWorkdir({
|
|||
}
|
||||
}
|
||||
|
||||
/// Read a file from the filesystem and write its content to the Object Database as a loose blob.
|
||||
/// Read a file from the filesystem and write its content to the Object
|
||||
/// Database as a loose blob.
|
||||
///
|
||||
/// Throws a [LibGit2Error] if error occured.
|
||||
Pointer<git_oid> createFromDisk({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue