Copied!

Representation of a Blob commit.

CloneableInstantiable
Methods
public __construct(Gitonomy\Git\Repository $repository, $hash)
 
public getContent()
 
  • throws ProcessException Error occurred while getting content of blob
  • return string Content of the 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
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration