PHP Class Gittern\Transport\PackfileIndex

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

Protected Properties

Property Type Description
$reader
$size

Public Methods

Method Description
__construct ( Iodophor\Io\Reader $reader )
getCrcForSha ( $sha )
getPackfileOffsetForSha ( $sha )
getShas ( )
getSize ( )
getStartCounterForPrefix ( $prefix )
getStartOffsetForPrefix ( $prefix )
getStopOffsetForPrefix ( $prefix )
hasSha ( $sha )
readFanoutForPrefix ( $prefix )

Protected Methods

Method Description
getCrcsStart ( )
getCrcsStop ( )
getOffsetForSha ( $sha )
getShasStart ( )
getShasStop ( )
getSmallPackfileOffsetsStart ( )

Method Details

__construct() public method

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

getCrcForSha() public method

public getCrcForSha ( $sha )

getCrcsStart() protected method

protected getCrcsStart ( )

getCrcsStop() protected method

protected getCrcsStop ( )

getOffsetForSha() protected method

protected getOffsetForSha ( $sha )

getPackfileOffsetForSha() public method

public getPackfileOffsetForSha ( $sha )

getShas() public method

public getShas ( )

getShasStart() protected method

protected getShasStart ( )

getShasStop() protected method

protected getShasStop ( )

getSize() public method

public getSize ( )

getSmallPackfileOffsetsStart() protected method

getStartCounterForPrefix() public method

public getStartCounterForPrefix ( $prefix )

getStartOffsetForPrefix() public method

public getStartOffsetForPrefix ( $prefix )

getStopOffsetForPrefix() public method

public getStopOffsetForPrefix ( $prefix )

hasSha() public method

public hasSha ( $sha )

readFanoutForPrefix() public method

public readFanoutForPrefix ( $prefix )

Property Details

$reader protected_oe property

protected $reader

$size protected_oe property

protected $size