Stackdriver Debugger Client - Class GitSourceContext (1.8.7)

Reference documentation and code samples for the Stackdriver Debugger Client class GitSourceContext.

A GitSourceContext denotes a particular revision in a third party Git repository (e.g. GitHub).

Example:

use Google\Cloud\Debugger\GitSourceContext;

$sourceContext = new GitSourceContext(
    'url',
    'revision-id'
);

Namespace

Google \ Cloud \ Debugger

Methods

__construct

Instantiate a new GitSourceContext.

Parameters
Name Description
url string

Git repository URL.

revisionId string

Git commit hash.

info

Return a serializable version of this object

Returns
Type Description
array