Logo DataHubClient

Commit Type

A single commit in a DataHub repository. See the .

Constructors

Constructor Description

Commit(id, shortId, title, message, authorName, authorEmail, createdAt, ?webUrl)

Full Usage: Commit(id, shortId, title, message, authorName, authorEmail, createdAt, ?webUrl)

Parameters:
    id : string
    shortId : string
    title : string
    message : string
    authorName : string
    authorEmail : string
    createdAt : string
    ?webUrl : string

Returns: Commit
id : string
shortId : string
title : string
message : string
authorName : string
authorEmail : string
createdAt : string
?webUrl : string
Returns: Commit

Instance members

Instance member Description

this.AuthorEmail

Full Usage: this.AuthorEmail

Returns: string

The email address of the commit author.

Returns: string

this.AuthorName

Full Usage: this.AuthorName

Returns: string

The display name of the commit author.

Returns: string

this.CreatedAt

Full Usage: this.CreatedAt

Returns: string

The commit timestamp as an ISO 8601 string.

Returns: string

this.Id

Full Usage: this.Id

Returns: string

The full 40-character commit SHA.

Returns: string

this.Message

Full Usage: this.Message

Returns: string

The full commit message.

Returns: string

this.ShortId

Full Usage: this.ShortId

Returns: string

The abbreviated commit SHA.

Returns: string

this.Title

Full Usage: this.Title

Returns: string

The first line of the commit message.

Returns: string

this.WebUrl

Full Usage: this.WebUrl

Returns: string option

The URL of the commit's web page, or None if not available.

Returns: string option

Type something to start searching.