forked from microsoft/vscode-pull-request-github
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithubRef.ts
More file actions
14 lines (12 loc) · 691 Bytes
/
githubRef.ts
File metadata and controls
14 lines (12 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { Protocol } from './protocol';
export class GitHubRef {
public repositoryCloneUrl: Protocol;
constructor(public ref: string, public label: string, public sha: string, repositoryCloneUrl: string,
public readonly owner: string, public readonly name: string) {
this.repositoryCloneUrl = new Protocol(repositoryCloneUrl);
}
}