編輯

共用方式為


SourceRepository interface

Represents a repository returned from a source provider.

Properties

defaultBranch

The name of the default branch.

fullName

The full name of the repository.

id

The ID of the repository.

name

The friendly name of the repository.

properties
sourceProviderName

The name of the source provider the repository is from.

url

The URL of the repository.

Property Details

defaultBranch

The name of the default branch.

defaultBranch: string

Property Value

string

fullName

The full name of the repository.

fullName: string

Property Value

string

id

The ID of the repository.

id: string

Property Value

string

name

The friendly name of the repository.

name: string

Property Value

string

properties

properties: {[key: string]: string}

Property Value

{[key: string]: string}

sourceProviderName

The name of the source provider the repository is from.

sourceProviderName: string

Property Value

string

url

The URL of the repository.

url: string

Property Value

string