|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | ctime (self) |
| def | mtime (self) |
| def | dev (self) |
| def | inode (self) |
| def | uid (self) |
| def | gid (self) |
| def | size (self) |
| def | from_base (cls, base) |
| def | from_blob (cls, blob, stage=0) |
Public Member Functions inherited from BaseIndexEntry | |
| def | __str__ (self) |
| def | __repr__ (self) |
| def | mode (self) |
| def | binsha (self) |
| def | hexsha (self) |
| def | stage (self) |
| def | path (self) |
| def | flags (self) |
| def | to_blob (self, repo) |
Allows convenient access to IndexEntry data without completely unpacking it. Attributes usully accessed often are cached in the tuple whereas others are unpacked on demand. See the properties for a mapping between names and tuple indices.
| def ctime | ( | self | ) |
:return:
Tuple(int_time_seconds_since_epoch, int_nano_seconds) of the
file's creation time
| def dev | ( | self | ) |
Device ID
| def from_base | ( | cls, | |
| base | |||
| ) |
:return:
Minimal entry as created from the given BaseIndexEntry instance.
Missing values will be set to null-like values
:param base: Instance of type BaseIndexEntry
| def from_blob | ( | cls, | |
| blob, | |||
stage = 0 |
|||
| ) |
:return: Minimal entry resembling the given blob object
Reimplemented from BaseIndexEntry.
| def gid | ( | self | ) |
Group ID
| def inode | ( | self | ) |
Inode ID
| def mtime | ( | self | ) |
See ctime property, but returns modification time
| def size | ( | self | ) |
:return: Uncompressed size of the blob
| def uid | ( | self | ) |
User ID