class Rugged::Index

Index Entries

Index entries are represented as Hash instances with the following key/value pairs:

path:

The entry’s path in the index.

oid:

The oid of the entry’s git object (blob / tree).

dev:

The device for the index entry.

ino:

The inode for the index entry.

mode:

The current permissions of the index entry.

gid:

Group ID of the index entry’s owner.

uid:

User ID of the index entry’s owner.

file_size:

The index entry’s size, in bytes.

valid:

true if the index entry is valid, false otherwise.

stage:

The current stage of the index entry.

mtime:

A Time instance representing the index entry’s time of last modification.

mtime:

A Time instance representing the index entry’s time of last status change (ie. change of owner, group, mode, etc.).