GitClientInterface
Interface
Provides semantic Git operations for repository-aware services.
Methods
getConfig()
: string
Returns a Git config value for the selected repository.
show()
: string
Returns the file contents shown from a specific Git reference.
Methods
Returns a Git config value for the selected repository.
public
getConfig(
string
$key[,
string|null
$workingDirectory = null]) : string
Parameters
$key
:
string
$workingDirectory
:
string|null
=
null
Return values
string
Returns the file contents shown from a specific Git reference.
public
show(
string
$reference,
string
$path[,
string|null
$workingDirectory = null]) : string
Parameters
$reference
:
string
$path
:
string
$workingDirectory
:
string|null
=
null
Return values
string