PHP Class Gittern\Transport\NativeTransport

Author: Magnus Nordlander
Inheritance: implements Gittern\Transport\TransportInterface
Show file Open project: e-butik/gittern

Protected Properties

Property Type Description
$git_dir

Public Methods

Method Description
__construct ( $git_dir )
fetchRawObject ( $sha )
getIndexData ( )
hasIndexData ( )
isLoose ( $sha )
putIndexData ( $data )
putRawObject ( RawObject $raw_object )
removeBranch ( $branch )
resolveHead ( $head_name )
resolveRemote ( $remote_name )
resolveTag ( $tag_name )
resolveTreeish ( $treeish )
setBranch ( $branch, $sha )

Protected Methods

Method Description
getPackfileNames ( )
getPackfiles ( )
isFileRelative ( $relative_path )
readFileRelative ( $relative_path )
removeFileRelative ( $relative_path )
resolvePackedRef ( $ref )
resolveRef ( $ref )
resolveRelativePath ( $relative_path )
writeFileRelative ( $relative_path, $data )

Method Details

__construct() public method

public __construct ( $git_dir )

fetchRawObject() public method

public fetchRawObject ( $sha )

getIndexData() public method

public getIndexData ( )

getPackfileNames() protected method

protected getPackfileNames ( )

getPackfiles() protected method

protected getPackfiles ( )

hasIndexData() public method

public hasIndexData ( )

isFileRelative() protected method

protected isFileRelative ( $relative_path )

isLoose() public method

public isLoose ( $sha )

putIndexData() public method

public putIndexData ( $data )

putRawObject() public method

public putRawObject ( RawObject $raw_object )
$raw_object RawObject

readFileRelative() protected method

protected readFileRelative ( $relative_path )

removeBranch() public method

public removeBranch ( $branch )

removeFileRelative() protected method

protected removeFileRelative ( $relative_path )

resolveHead() public method

public resolveHead ( $head_name )

resolvePackedRef() protected method

protected resolvePackedRef ( $ref )

resolveRef() protected method

protected resolveRef ( $ref )

resolveRelativePath() protected method

protected resolveRelativePath ( $relative_path )

resolveRemote() public method

public resolveRemote ( $remote_name )

resolveTag() public method

public resolveTag ( $tag_name )

resolveTreeish() public method

public resolveTreeish ( $treeish )

setBranch() public method

public setBranch ( $branch, $sha )

writeFileRelative() protected method

protected writeFileRelative ( $relative_path, $data )

Property Details

$git_dir protected property

protected $git_dir