Stackdriver Debugger Client - Class GitSourceContext (1.7.0)

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
NameDescription
url string

Git repository URL.

revisionId string

Git commit hash.

info

Return a serializable version of this object

Returns
TypeDescription
array