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
|
@ -3,16 +3,17 @@ import 'dart:ffi';
|
|||
import '../util.dart';
|
||||
import 'libgit2_bindings.dart';
|
||||
|
||||
/// Sets the current head to the specified commit oid and optionally resets the index
|
||||
/// and working tree to match.
|
||||
/// Sets the current head to the specified commit oid and optionally resets the
|
||||
/// index and working tree to match.
|
||||
///
|
||||
/// SOFT reset means the Head will be moved to the commit.
|
||||
///
|
||||
/// MIXED reset will trigger a SOFT reset, plus the index will be replaced with the
|
||||
/// content of the commit tree.
|
||||
/// MIXED reset will trigger a SOFT reset, plus the index will be replaced with
|
||||
/// the content of the commit tree.
|
||||
///
|
||||
/// HARD reset will trigger a MIXED reset and the working directory will be replaced
|
||||
/// with the content of the index. (Untracked and ignored files will be left alone, however.)
|
||||
/// HARD reset will trigger a MIXED reset and the working directory will be
|
||||
/// replaced with the content of the index. (Untracked and ignored files will
|
||||
/// be left alone, however.)
|
||||
void reset({
|
||||
required Pointer<git_repository> repoPointer,
|
||||
required Pointer<git_object> targetPointer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue