Class

FoundryGitCommitBuilder

Description

final class Foundry.GitCommitBuilder : GObject.Object
{
  /* No available fields */
}

No description available.

Hierarchy

hierarchy this FoundryGitCommitBuilder ancestor_0 GObject ancestor_0--this

Ancestors

Constructors

foundry_git_commit_builder_new

Creates a new builder using parent as the parent commit.

unstable since: 1.1

Instance methods

foundry_git_commit_builder_commit

Creates a commit using the fields from the builder.

unstable since: 1.1

foundry_git_commit_builder_dup_author_email

Gets the author email address that will be used for the commit.

unstable since: 1.1

foundry_git_commit_builder_dup_author_name

Gets the author name that will be used for the commit.

unstable since: 1.1

foundry_git_commit_builder_dup_message

Gets the commit message that will be used for the commit.

unstable since: 1.1

foundry_git_commit_builder_dup_signing_format

Gets the signing format that will be used for signing the commit.

unstable since: 1.1

foundry_git_commit_builder_dup_signing_key

Gets the signing key identifier that will be used for signing the commit.

unstable since: 1.1

foundry_git_commit_builder_dup_when

Gets the timestamp that will be used for the commit.

unstable since: 1.1

foundry_git_commit_builder_get_can_commit

Checks whether the builder has sufficient information to create a commit.

unstable since: 1.1

foundry_git_commit_builder_is_untracked

Checks whether file was untracked when the commit builder was created.

unstable since: 1.1

foundry_git_commit_builder_list_staged

Gets a list model containing all files that are currently staged for commit.

unstable since: 1.1

foundry_git_commit_builder_list_unstaged

Gets a list model containing all files that have unstaged changes.

unstable since: 1.1

foundry_git_commit_builder_list_untracked

Gets a list model containing all untracked files in the working tree.

unstable since: 1.1

foundry_git_commit_builder_load_staged_delta

Loads the delta for file comparing the index against the parent commit. This delta represents staged changes and can be used to toggle individual lines on/off for staging in the background.

unstable since: 1.1

foundry_git_commit_builder_load_unstaged_delta

Loads the delta for file comparing the working directory against the index. This delta represents unstaged changes and can be used to toggle individual lines on/off for staging in the background.

unstable since: 1.1

foundry_git_commit_builder_load_untracked_delta

Loads the delta for an untracked file. This creates a synthetic delta that represents adding the entire file, allowing the same API semantics for new files as for modified files. The delta can be used to toggle individual lines on/off for staging in the background.

unstable since: 1.1

foundry_git_commit_builder_new_similar

Creates a new builder similar to self, copying all string and GDateTime properties from the existing builder.

unstable since: 1.1

foundry_git_commit_builder_set_author_email

Sets the author email address that will be used for the commit.

unstable since: 1.1

foundry_git_commit_builder_set_author_name

Sets the author name that will be used for the commit.

unstable since: 1.1

foundry_git_commit_builder_set_message

Sets the commit message that will be used for the commit.

unstable since: 1.1

foundry_git_commit_builder_set_signing_format

Sets the signing format that will be used for signing the commit.

unstable since: 1.1

foundry_git_commit_builder_set_signing_key

Sets the signing key identifier that will be used for signing the commit.

unstable since: 1.1

foundry_git_commit_builder_set_when

Sets the timestamp that will be used for the commit.

unstable since: 1.1

foundry_git_commit_builder_stage_file

Stages the file using the version from the stored diff/delta. This stages the fully applied version (all changes from the delta).

unstable since: 1.1

foundry_git_commit_builder_stage_hunks

Stages the selected hunks from the file.

unstable since: 1.1

foundry_git_commit_builder_stage_lines

Stages the selected lines from the file.

unstable since: 1.1

foundry_git_commit_builder_unstage_file

Unstages the file using the version from the stored diff/delta. This restores the file to the fully unapplied version (HEAD version).

unstable since: 1.1

foundry_git_commit_builder_unstage_hunks

Unstages the selected hunks from the file.

unstable since: 1.1

foundry_git_commit_builder_unstage_lines

Unstages the selected lines from the file.

unstable since: 1.1

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Foundry.GitCommitBuilder:author-email

The email address of the commit author.

Foundry.GitCommitBuilder:author-name

The name of the commit author.

Foundry.GitCommitBuilder:can-commit

Whether the builder has sufficient information to create a commit.

Foundry.GitCommitBuilder:message

The commit message.

Foundry.GitCommitBuilder:signing-format

The format to use for signing commits.

Foundry.GitCommitBuilder:signing-key

The key identifier to use for signing the commit.

Foundry.GitCommitBuilder:staged

A list model containing all files that are currently staged for commit.

Foundry.GitCommitBuilder:unstaged

A list model containing all files that have unstaged changes.

Foundry.GitCommitBuilder:untracked

A list model containing all untracked files in the working tree.

Foundry.GitCommitBuilder:when

The timestamp for the commit.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct FoundryGitCommitBuilderClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.