Representation of a Blob commit.
- author Alexandre Salomé
CloneableInstantiable
Methods |
public __construct(Gitonomy
|
public getContent()
|
public getHash()
|
public getMimetype() Determine the mimetype of the blob.
|
public isBinary() Determines if file is binary. Uses the same check that git uses to determine if a file is binary or not https://git.kernel.org/pub/scm/git/git.git/tree/xdiff-interface.c?h=v2.44.0#n193
|
public isText() Determines if file is text. Uses the same check that git uses to determine if a file is binary or not https://git.kernel.org/pub/scm/git/git.git/tree/xdiff-interface.c?h=v2.44.0#n193
|
Properties |
protected $content = NULL
|
protected $hash = NULL
|
protected $mimetype = NULL
|
protected $repository = NULL
|
protected $text = NULL
|
Constants |
private Gitonomy
|