Method

FoundryGitCommitBuilderunstage_hunks

unstable since: 1.1

Declaration [src]

DexFuture*
foundry_git_commit_builder_unstage_hunks (
  FoundryGitCommitBuilder* self,
  GFile* file,
  GListModel* hunks
)

Description [src]

Unstages the selected hunks from the file.

Available since: 1.1

Parameters

file

Type: GFile

A GFile in the working tree.

The data is owned by the caller of the method.
hunks

Type: GObject

A GListModel of FoundryGitDiffHunk.

The data is owned by the caller of the method.

Return value

Type: DexFuture

A DexFuture that resolves to any value or rejects with error.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.