MCPcopy Index your code

hub / github.com/danger/danger-js / functions

Functions621 in github.com/danger/danger-js

FunctionexecuteRuntimeEnvironment
( start: DangerRunner["runDangerfileEnvironment"], dangerfilePath: string, environment: any )
source/platforms/GitHub.ts:112
FunctionfancyLink
(name: string, href: string)
source/commands/init/state-setup.ts:15
FunctionfetchErrorJSON
(api: any, params: any)
source/platforms/github/_tests/_github_api.test.ts:18
FunctionfetchJSON
(api: any, params: any)
source/platforms/github/_tests/_github_api.test.ts:7
FunctionfetchText
(api: any, params: any)
source/platforms/bitbucket_cloud/_tests_/_bitbucket_cloud_api.test.ts:6
MethodfileContents
* Downloads a file's contents via the GitHub API. You'll want to use * this instead of `fs.readFile` when aiming to support working with Peril.
source/danger.d.ts:1067
FunctionfileLinks
(paths: string[], useBasename: boolean = true, repoSlug?: string, branch?: string)
source/platforms/github/GitHubUtils.ts:22
MethodfileLinks
* Creates HTML for a sentence of clickable links for an array of paths. * This uses the source of the PR as the target, not the destination repo.
source/danger.d.ts:1057
Methodget
Make a get call against the bitbucket server API
source/danger.d.ts:28
Methodget
Make a get call against the bitbucket server API
source/danger.d.ts:220
Methodget
Make a get call against the bitbucket server API
source/dsl/BitBucketServerDSL.ts:27
FunctiongetContent
({ content }: { content: string })
source/platforms/git/gitJSONToGitDSL.ts:187
MethodgetFileContents
Gets the contents of a file from a repo (defaults to yours)
source/danger.d.ts:25
MethodgetFileContents
Gets the contents of a file from a repo (defaults to yours)
source/danger.d.ts:217
MethodgetFileContents
Gets the contents of a file from a repo (defaults to yours)
source/dsl/BitBucketServerDSL.ts:24
MethodgetInlineComments
(_: string)
source/platforms/FakePlatform.ts:47
MethodgetNextPageFromLinkHeader
(response: FetchResponse)
source/platforms/github/GitHubAPI.ts:312
MethodgetPlatformGitRepresentation
()
source/platforms/FakePlatform.ts:21
MethodgetPlatformReviewDSLRepresentation
()
source/platforms/FakePlatform.ts:17
MethodgetPullRequestActivities
()
source/platforms/_tests/_bitbucket_cloud.test.ts:21
MethodgetPullRequestComments
()
source/platforms/_tests/_bitbucket_cloud.test.ts:25
MethodgetPullRequestCommits
()
source/platforms/_tests/_bitbucket_cloud.test.ts:17
MethodgetPullRequestCommits
()
source/platforms/_tests/_bitbucket_server.test.ts:22
MethodgetPullRequestInfo
()
source/platforms/_tests/_bitbucket_cloud.test.ts:13
MethodgetPullRequestInfo
()
source/platforms/_tests/_bitbucket_server.test.ts:14
MethodgetReviewInfo
()
source/platforms/FakePlatform.ts:13
FunctiongetUser
()
source/platforms/_tests/_gitlab.test.ts:9
FunctiongitHubGitDSL
(github: GitHubDSL, json: GitJSONDSL, githubAPI?: GitHubAPI)
source/platforms/github/GitHubGit.ts:39
FunctiongithubCommitToGitCommit
* Returns the response for the new comment * * @param {GitHubCommit} ghCommit A GitHub based commit * @returns {GitCommit} a Git commit representat
source/platforms/github/GitHubGit.ts:19
Methodhref
* Creates a link using HTML. * * If `href` and `text` are falsy, null is returned. * If `href` is falsy and `text` is truthy, `text` is retur
source/danger.d.ts:807
Methodhref
* Creates a link using HTML. * * If `href` and `text` are falsy, null is returned. * If `href` is falsy and `text` is truthy, `text` is retur
source/dsl/DangerUtilsDSL.ts:18
FunctioninlineLink
(_name: string, href: string)
source/commands/init/state-setup.ts:16
MethodisCI
()
source/ci_source/providers/Buildkite.ts:29
MethodisCI
()
source/ci_source/providers/Concourse.ts:39
MethodisCI
()
source/ci_source/providers/local-repo.ts:18
MethodisCI
()
source/ci_source/providers/Cirrus.ts:29
MethodisCI
()
source/ci_source/providers/AppCenter.ts:41
MethodisCI
()
source/ci_source/providers/Drone.ts:32
MethodisCI
()
source/ci_source/providers/Fake.ts:19
MethodisCI
()
source/ci_source/providers/Circle.ts:53
MethodisCI
()
source/ci_source/providers/Netlify.ts:20
MethodisCI
()
source/ci_source/providers/BitbucketPipelines.ts:42
MethodisCI
()
source/ci_source/providers/Surf.ts:22
MethodisCI
()
source/ci_source/providers/Bamboo.ts:41
MethodisCI
()
source/ci_source/providers/TeamCity.ts:25
MethodisCI
()
source/ci_source/providers/GitHubActions.ts:239
MethodisCI
()
source/ci_source/providers/GitLabCI.ts:11
MethodisCI
()
source/ci_source/providers/Semaphore.ts:23
MethodisCI
()
source/ci_source/providers/Codemagic.ts:19
MethodisCI
()
source/ci_source/providers/XcodeCloud.ts:22
MethodisCI
()
source/ci_source/providers/Jenkins.ts:49
MethodisCI
()
source/ci_source/providers/BuddyWorks.ts:24
MethodisCI
()
source/ci_source/providers/Travis.ts:64
MethodisCI
()
source/ci_source/providers/Codefresh.ts:41
MethodisCI
()
source/ci_source/providers/Bitrise.ts:49
MethodisCI
()
source/ci_source/providers/Codeship.ts:51
MethodisCI
()
source/ci_source/providers/VSTS.ts:22
MethodisCI
()
source/ci_source/providers/CodeBuild.ts:35
MethodisCI
()
source/ci_source/providers/Screwdriver.ts:32
MethodisCI
()
source/ci_source/_tests/fixtures/dummy_ci.js:6
MethodisPR
()
source/ci_source/providers/Buildkite.ts:33
MethodisPR
()
source/ci_source/providers/Concourse.ts:43
MethodisPR
()
source/ci_source/providers/local-repo.ts:21
MethodisPR
()
source/ci_source/providers/Cirrus.ts:33
MethodisPR
()
source/ci_source/providers/AppCenter.ts:49
MethodisPR
()
source/ci_source/providers/Drone.ts:36
MethodisPR
()
source/ci_source/providers/Fake.ts:27
MethodisPR
()
source/ci_source/providers/Circle.ts:57
MethodisPR
()
source/ci_source/providers/Netlify.ts:24
MethodisPR
()
source/ci_source/providers/BitbucketPipelines.ts:46
MethodisPR
()
source/ci_source/providers/Surf.ts:26
MethodisPR
()
source/ci_source/providers/Bamboo.ts:45
MethodisPR
()
source/ci_source/providers/TeamCity.ts:29
MethodisPR
()
source/ci_source/providers/GitHubActions.ts:243
MethodisPR
()
source/ci_source/providers/GitLabCI.ts:15
MethodisPR
()
source/ci_source/providers/Semaphore.ts:27
MethodisPR
()
source/ci_source/providers/Codemagic.ts:24
MethodisPR
()
source/ci_source/providers/XcodeCloud.ts:27
MethodisPR
()
source/ci_source/providers/Jenkins.ts:53
MethodisPR
()
source/ci_source/providers/BuddyWorks.ts:28
MethodisPR
()
source/ci_source/providers/Travis.ts:68
MethodisPR
()
source/ci_source/providers/Codefresh.ts:45
MethodisPR
()
source/ci_source/providers/Bitrise.ts:53
MethodisPR
()
source/ci_source/providers/Codeship.ts:58
MethodisPR
()
source/ci_source/providers/VSTS.ts:29
MethodisPR
()
source/ci_source/providers/CodeBuild.ts:39
MethodisPR
()
source/ci_source/providers/Screwdriver.ts:36
MethodisPR
()
source/ci_source/_tests/fixtures/dummy_ci.js:9
FunctionisPatternMatch
(path: string)
source/platforms/git/gitJSONToGitDSL.ts:158
FunctionlinesOfCode
(pattern?: string)
source/platforms/git/gitJSONToGitDSL.ts:157
MethodlinesOfCode
* Offers the overall lines of code added/removed in the diff * * @param {string} pattern an option glob pattern to filer files that will conside
source/danger.d.ts:1004
MethodmergeRequestURL
()
source/platforms/gitlab/GitLabAPI.ts:92
Methodmessage
* Adds a message to the Danger table, the only difference between this * and warn is the emoji which shows in the table. * * @param {Markdown
source/runner/Dangerfile.ts:55
FunctionmessageToViolation
(message: string)
source/dsl/DangerResults.ts:282
FunctionmockContents
({ ref }: any)
source/platforms/github/_tests/fixturedGitHubDSL.ts:57
FunctionmockContents
({ ref }: any)
source/platforms/github/_tests/_github_git.test.ts:68
Methodname
()
source/ci_source/providers/Buildkite.ts:25
Methodname
()
source/ci_source/providers/Concourse.ts:35
Methodname
()
source/ci_source/providers/local-repo.ts:14
Methodname
()
source/ci_source/providers/Cirrus.ts:25
← previousnext →401–500 of 621, ranked by callers