Class
FoundryGitVcs
Description [src]
final class Foundry.GitVcs : Foundry.Vcs
implements Json.Serializable {
/* No available fields */
}
Git implementation of the version control system interface.
FoundryGitVcs provides Git-specific functionality for version control operations including repository management, branch operations, and remote synchronization. It integrates with the Git library to provide a unified interface for Git operations within the Foundry development environment.
Instance methods
foundry_git_vcs_query_config
Queries a git configuration value by key from the repository.
unstable since: 1.1
Methods inherited from FoundryVcs (23)
foundry_vcs_blame
foundry_vcs_describe_line_changes
foundry_vcs_diff
Diffs two FoundryVcsTree resulting in a FoundryVcsDiff.
foundry_vcs_dup_branch_name
Gets the name of the branch such as “main”.
foundry_vcs_dup_id
Gets the identifier for the VCS such as “git” or “none”.
foundry_vcs_dup_name
Gets the name of the vcs in title format such as “Git”.
foundry_vcs_emit_tip_changed
Emits the “tip-changed” signal. This method is intended for use by subclasses to notify when the tip (most recent commit) has changed.
unstable since: 1.1
foundry_vcs_fetch
foundry_vcs_find_commit
Finds a commit by identifier.
foundry_vcs_find_file
foundry_vcs_find_remote
foundry_vcs_find_tree
Finds a FoundryVcsTree by tree identifier.
foundry_vcs_get_active
foundry_vcs_get_priority
foundry_vcs_is_file_ignored
foundry_vcs_is_ignored
foundry_vcs_list_branches
foundry_vcs_list_commits_with_file
foundry_vcs_list_files
List all files in the repository.
foundry_vcs_list_remotes
foundry_vcs_list_tags
foundry_vcs_load_tip
Loads the tip (most recent commit) from the repository.
unstable since: 1.1
foundry_vcs_query_file_status
Queries the state of file in the repository.
Methods inherited from FoundryContextual (4)
foundry_contextual_acquire
This method provides a checked way to get a context for the contextual.
unstable since: 1.1
foundry_contextual_dup_context
Gets the FoundryContext that self is a part of while safely increasing
the reference count of the resulting FoundryContext by 1.
foundry_contextual_inhibit
Creates a new FoundryInhibitor that will keep the
FoundryContext alive and prevent shutdown until
foundry_inhibitor_uninhibit() is called or the
FoundryInhibitor is finalized, whichever comes first.
foundry_contextual_log
Methods inherited from JsonSerializable (8)
json_serializable_default_deserialize_property
Calls the default implementation of the Json.SerializableIface.deserialize_property
virtual function.
json_serializable_default_serialize_property
Calls the default implementation of the Json.SerializableIface.serialize_property
virtual function.
json_serializable_deserialize_property
Asks a JsonSerializable implementation to deserialize the
property contained inside property_node and place its value
into value.
json_serializable_find_property
Calls the Json.SerializableIface.find_property implementation on
the JsonSerializable instance, which will return the property
description for the given name.
json_serializable_get_property
Calls the Json.SerializableIface.get_property implementation
on the JsonSerializable instance, which will get the value of
the given property.
json_serializable_list_properties
Calls the Json.SerializableIface.list_properties implementation on
the JsonSerializable instance, which will return the list of serializable properties.
json_serializable_serialize_property
Asks a JsonSerializable implementation to serialize an object
property into a JSON node.
json_serializable_set_property
Calls the Json.SerializableIface.set_property implementation
on the JsonSerializable instance, which will set the property
with the given value.
Properties
Properties inherited from FoundryVcs (6)
Foundry.Vcs:active
Foundry.Vcs:branch-name
Foundry.Vcs:id
Foundry.Vcs:name
Foundry.Vcs:priority
Foundry.Vcs:provider
Properties inherited from FoundryContextual (1)
Signals
Signals inherited from FoundryVcs (1)
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.