Struct git2::IndexEntry [−][src]
pub struct IndexEntry {
pub ctime: IndexTime,
pub mtime: IndexTime,
pub dev: u32,
pub ino: u32,
pub mode: u32,
pub uid: u32,
pub gid: u32,
pub file_size: u32,
pub id: Oid,
pub flags: u16,
pub flags_extended: u16,
pub path: Vec<u8>,
}
Expand description
A structure to represent an entry or a file inside of an index.
All fields of an entry are public for modification and inspection. This is also how a new index entry is created.
Fields
ctime: IndexTime
mtime: IndexTime
dev: u32
ino: u32
mode: u32
uid: u32
gid: u32
file_size: u32
id: Oid
flags: u16
flags_extended: u16
path: Vec<u8>