IndexEntry
Object Hierarchy:
Description:
[ CCode ( ref_function = "ggit_index_entry_ref" , type_id = "ggit_index_entry_get_type ()" , unref_function = "ggit_index_entry_unref" ) ]
[ Compact ]
public class IndexEntry
[ Compact ]
public class IndexEntry
Represents an index entry object.
Namespace: Ggit
Package: libgit2-glib-1.0
Content:
Methods:
- public unowned IndexEntry? @ref ()
Atomically increments the reference count of this by one.
- public uint get_dev ()
Get the dev of the index entry.
- public int64 get_file_size ()
Get the file size of the index entry.
- public uint get_flags ()
Get the flags of the index entry.
- public uint get_flags_extended ()
Get the extended flags of the index entry.
- public uint get_gid ()
Get the gid of the index entry.
- public OId? get_id ()
Get the oid of the index entry.
- public uint get_ino ()
Get the ino of the index entry.
- public uint get_mode ()
Get the mode of the index entry.
- public unowned string get_path ()
- public uint get_uid ()
Get the uid of the index entry.
- public bool is_conflict ()
Get whether the entry represents a conflict.
- public void set_commit (Commit commit)
Set the index entry to point to a given commit.
- public void set_dev (uint dev)
Set the dev of the index entry.
- public void set_file_size (int64 file_size)
Set the file size of the index entry.
- public void set_flags (uint flags)
Set the flags of the index entry.
- public void set_flags_extended (uint flags_extended)
Set the extended flags of the index entry.
- public void set_gid (uint gid)
Set the gid of the index entry.
- public void set_id (OId? id)
Set the oid of the index entry.
- public void set_ino (uint ino)
Set the ino of the index entry.
- public void set_mode (uint mode)
Set the mode of the index entry.
- public void set_path (string? path)
Set the path of the index entry.
- public void set_uid (uint uid)
Set the uid of the index entry.
- public bool stat (File file) throws Error
Fill the entry fields from statting
file
. - public void unref ()
Atomically decrements the reference count of this by one.