OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | mime_type (self) |
![]() | |
def | __init__ (self, repo, binsha, mode=None, path=None) |
def | __hash__ (self) |
def | name (self) |
def | abspath (self) |
![]() | |
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 | |
![]() | |
NULL_HEX_SHA | |
NULL_BIN_SHA | |
TYPES | |
type | |
Additional Inherited Members | |
![]() | |
mode | |
path | |
![]() | |
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 |