Skip to content

GitClientInterface

github-actions edited this page Apr 20, 2026 · 1 revision

Provides semantic Git operations for repository-aware services.


  • Full name: \FastForward\DevTools\Git\GitClientInterface

Methods

getConfig

Returns a Git config value for the selected repository.

public getConfig(string $key, ?string $workingDirectory = null): string

Parameters:

Parameter Type Description
$key string
$workingDirectory ?string

show

Returns the file contents shown from a specific Git reference.

public show(string $reference, string $path, ?string $workingDirectory = null): string

Parameters:

Parameter Type Description
$reference string
$path string
$workingDirectory ?string

Clone this wiki locally