Copied!

Representation of a Blob commit.

Cloneable Instantiable
Methods
public __construct ( Gitonomy\Git\Repository $repository , $hash )
 
public getContent ()
 

Returns content of the blob.

  • throws ProcessException Error occurred while getting content of blob
public getHash ()
 
  • return string
public getMimetype ()
 

Determine the mimetype of the blob.

  • return string A mimetype
public isBinary ()
 

Determines if file is binary.

  • return bool
public isText ()
 

Determines if file is text.

  • return bool
Properties
protected $content
 
  • var string
protected $hash
 
  • var string
protected $mimetype
 
  • var string
protected $repository
© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration