| Top |
| IdeVcsMonitor * | ide_vcs_monitor_from_context () |
| IdeVcsFileInfo * | ide_vcs_monitor_ref_info () |
| GFile * | ide_vcs_monitor_ref_root () |
| void | ide_vcs_monitor_set_root () |
| IdeVcs * | ide_vcs_monitor_ref_vcs () |
| void | ide_vcs_monitor_set_vcs () |
| guint64 | ide_vcs_monitor_get_sequence () |
IdeVcsMonitor *
ide_vcs_monitor_from_context (IdeContext *context);
Gets the IdeVcsMonitor for a context.
Since: 3.32
IdeVcsFileInfo * ide_vcs_monitor_ref_info (IdeVcsMonitor *self,GFile *file);
Gets an IdeVcsFileInfo for the given file
.
If the file information has not been loaded, NULL is returned. You
can wait for “reloaded” and query again if you expect
the info to be there.
Since: 3.32
GFile *
ide_vcs_monitor_ref_root (IdeVcsMonitor *self);
Gets the “root” property and increments the reference count of the GFile by one.
Since: 3.32
IdeVcs *
ide_vcs_monitor_ref_vcs (IdeVcsMonitor *self);
Increments the reference count of the IdeVcs monitored using the IdeVcsMonitor and returns it.
Since: 3.32
“root” property “root” GFile *
The "root" property is the root of the file-system to begin monitoring for changes.
Flags: Read / Write
Since: 3.32
“vcs” property“vcs” IdeVcs *
The "vcs" property is the version control system to be queried for additional status information when a file has been discovered to have been changed.
Flags: Read / Write
Since: 3.32
“changed” signalvoid user_function (IdeVcsMonitor *self, GFile *file, GFile *other_file, GFileMonitorEvent event, gpointer user_data)
The "changed" signal is emitted when a file has been discovered to have been changed on disk.
self |
||
file |
a GFile |
|
other_file |
a GFile or |
[nullable] |
event |
a GFileMonitorEvent |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.32
“reloaded” signalvoid user_function (IdeVcsMonitor *self, gpointer user_data)
The "reloaded" signal is emitted when the monitor has been reloaded.
Flags: Run Last
Since: 3.32