PHP Class Gittern\Transport\Packfile

Author: Magnus Nordlander
Mostrar archivo Open project: e-butik/gittern Class Usage Examples

Protected Properties

Property Type Description
$index
$reader

Public Methods

Method Description
__construct ( Iodophor\Io\Reader $reader )
getIndex ( )
getRawObjectAtOffset ( $offset )
getRawObjectForSha ( $sha )
hasSha ( $sha )
setIndex ( PackfileIndex $index = null )

Protected Methods

Method Description
patchDelta ( $delta, RawObject $base_object )
patchDeltaHeaderSize ( $delta, $pos )

Method Details

__construct() public method

public __construct ( Iodophor\Io\Reader $reader )
$reader Iodophor\Io\Reader

getIndex() public method

public getIndex ( )

getRawObjectAtOffset() public method

See also: http://git.rsbx.net/Documents/Git_Data_Formats.txt
See also: http://www.opensource.apple.com/source/Git/Git-17/src/git-htmldocs/technical/pack-format.txt
public getRawObjectAtOffset ( $offset )

getRawObjectForSha() public method

public getRawObjectForSha ( $sha )

hasSha() public method

public hasSha ( $sha )

patchDelta() protected method

See also: https://github.com/mojombo/grit/blob/master/lib/grit/git-ruby/internal/pack.rb
protected patchDelta ( $delta, RawObject $base_object )
$base_object RawObject

patchDeltaHeaderSize() protected method

See also: https://github.com/mojombo/grit/blob/master/lib/grit/git-ruby/internal/pack.rb
protected patchDeltaHeaderSize ( $delta, $pos )

setIndex() public method

public setIndex ( PackfileIndex $index = null )
$index PackfileIndex

Property Details

$index protected_oe property

protected $index

$reader protected_oe property

protected $reader