Edit

Share via


GitRepository interface

Properties

creationDate

The timestamp when the repository was created.

defaultBranch
id
isDisabled

True if the repository is disabled. False otherwise.

isFork

True if the repository was created as a fork.

isInMaintenance

True if the repository is in maintenance. False otherwise.

name
parentRepository
project
remoteUrl
size

Compressed size (bytes) of the repository.

sshUrl
url
validRemoteUrls
webUrl

Property Details

creationDate

The timestamp when the repository was created.

creationDate: Date

Property Value

Date

defaultBranch

defaultBranch: string

Property Value

string

id

id: string

Property Value

string

isDisabled

True if the repository is disabled. False otherwise.

isDisabled: boolean

Property Value

boolean

isFork

True if the repository was created as a fork.

isFork: boolean

Property Value

boolean

isInMaintenance

True if the repository is in maintenance. False otherwise.

isInMaintenance: boolean

Property Value

boolean

name

name: string

Property Value

string

parentRepository

parentRepository: GitRepositoryRef

Property Value

project

project: TeamProjectReference

Property Value

remoteUrl

remoteUrl: string

Property Value

string

size

Compressed size (bytes) of the repository.

size: number

Property Value

number

sshUrl

sshUrl: string

Property Value

string

url

url: string

Property Value

string

validRemoteUrls

validRemoteUrls: string[]

Property Value

string[]

webUrl

webUrl: string

Property Value

string