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


Public Member Functions | |
| def | mime_type (self) |
Public Member Functions inherited from IndexObject | |
| def | __init__ (self, repo, binsha, mode=None, path=None) |
| def | __hash__ (self) |
| def | name (self) |
| def | abspath (self) |
Public Member Functions inherited from Object | |
| def | __init__ (self, repo, binsha) |
| def | new (cls, repo, id) |
| def | new_from_sha (cls, repo, sha1) |
| def | __eq__ (self, other) |
| def | __ne__ (self, other) |
| def | __str__ (self) |
| def | __repr__ (self) |
| def | hexsha (self) |
| def | data_stream (self) |
| def | stream_data (self, ostream) |
Static Public Attributes | |
| DEFAULT_MIME_TYPE | |
| type | |
| executable_mode | |
| file_mode | |
| link_mode | |
Static Public Attributes inherited from Object | |
| NULL_HEX_SHA | |
| NULL_BIN_SHA | |
| TYPES | |
| type | |
Additional Inherited Members | |
Data Fields inherited from IndexObject | |
| mode | |
| path | |
Data Fields inherited from Object | |
| repo | |
| binsha | |
| size | |
A Blob encapsulates a git blob object
| def mime_type | ( | self | ) |
:return: String describing the mime type of this file (based on the filename) :note: Defaults to 'text/plain' in case the actual file type is unknown.
|
static |
|
static |
|
static |
|
static |
|
static |