Module "core/util/slack/diffRendering"
Functions
diffUrl
- diffUrl(id: RemoteRepoRef, start: string, end: string): string
-
Parameters
-
id: RemoteRepoRef
-
start: string
-
end: string
Returns string
linkToDiff
- linkToDiff(id: RemoteRepoRef, start: string, end: string, endDescription?: string): string
-
Parameters
-
id: RemoteRepoRef
-
start: string
-
end: string
-
Optional endDescription: string
Returns string
render
-
Parameters
-
-
-
fullDiffLink: string
-
color: string
Returns Promise<Attachment[]>
renderCommitMessage
-
Parameters
Returns string
renderDiff
- renderDiff(token: string, id: GitHubRepoRef, start: string, end: string, color: string): Promise<Attachment[]>
-
Parameters
-
token: string
-
id: GitHubRepoRef
-
start: string
-
end: string
-
color: string
Returns Promise<Attachment[]>