Top | ![]() |
![]() |
![]() |
![]() |
IdeBufferChangeMonitor * ide_vcs_get_buffer_change_monitor (IdeVcs *self
,IdeBuffer *buffer
);
Gets an IdeBufferChangeMonitor for the buffer provided. If the IdeVcs implementation does not
support change monitoring, or cannot for the current file, then NULL
is returned.
GFile *
ide_vcs_get_working_directory (IdeVcs *self
);
Retrieves the working directory for the context. This is the root of where the project files exist.
void ide_vcs_new_async (IdeContext *context
,int io_priority
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
IdeVcs * ide_vcs_new_finish (GAsyncResult *result
,GError **error
);
Completes a call to ide_vcs_new_async()
.
struct IdeVcsInterface { GTypeInterface parent_interface; GFile *(*get_working_directory) (IdeVcs *self); IdeBufferChangeMonitor *(*get_buffer_change_monitor) (IdeVcs *self, IdeBuffer *buffer); gboolean (*is_ignored) (IdeVcs *self, GFile *file, GError **error); gint (*get_priority) (IdeVcs *self); };