MCPcopy Index your code

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

Functions621 in github.com/danger/danger-js

↓ 1 callersFunctionsetupGitHubAccount
(ui: InitUI, state: InitState)
source/commands/danger-init.ts:117
↓ 1 callersFunctionshouldRetryRequest
(res: FetchResponse)
source/api/fetch.ts:17
↓ 1 callersFunctionshowNonGitHubWarning
(ui: InitUI)
source/commands/danger-init.ts:58
↓ 1 callersFunctionshowTodoState
(ui: InitUI)
source/commands/danger-init.ts:68
↓ 1 callersFunctionsortResults
(results: DangerResults)
source/dsl/DangerResults.ts:191
↓ 1 callersFunctionstripWhitespaceForSnapshot
(str: string)
source/platforms/gitlab/_tests/_gitlab_git.test.ts:41
↓ 1 callersFunctionstructuredDiffForFile
(filename: string)
source/platforms/git/gitJSONToGitDSL.ts:194
↓ 1 callersMethodsupportsCommenting
()
source/platforms/GitLab.ts:103
↓ 1 callersFunctionthanks
(ui: InitUI, _state: InitState)
source/commands/danger-init.ts:244
↓ 1 callersFunctionthing
()
source/runner/_tests/fixtures/export/thing.js:1
↓ 1 callersFunctiontoHref
(path: string)
source/platforms/github/GitHubUtils.ts:30
↓ 1 callersFunctiontravis
(ui: InitUI, state: InitState)
source/commands/init/add-to-ci.ts:63
↓ 1 callersFunctiontruncate
(msg: string, count: number)
source/runner/templates/githubIssueTemplate.ts:55
↓ 1 callersFunctionunsure
(ui: InitUI, _state: InitState)
source/commands/init/add-to-ci.ts:145
↓ 1 callersMethodupdateInlineComment
(inlineResults: DangerInlineResults, previousComment: Comment)
source/runner/Executor.ts:467
↓ 1 callersMethodupdatePrStatus
( passed: boolean | "pending", issueURL: string | undefined, results: DangerResults, dangerID:
source/runner/Executor.ts:356
↓ 1 callersFunctionuseCommittedDiffArgs
(base: string, head: string)
source/platforms/git/localGetDiff.ts:5
↓ 1 callersFunctionuseStagingChanges
()
source/platforms/git/localGetDiff.ts:11
↓ 1 callersMethodvalidateThereAreChanges
()
source/platforms/LocalGit.ts:35
↓ 1 callersFunctionwrapItUp
(ui: InitUI, _state: InitState)
source/commands/danger-init.ts:199
MethodAPIMetadataForPR
()
source/platforms/_tests/_github.test.ts:47
FunctionJSONDiffForFile
(filename: string)
source/platforms/git/gitJSONToGitDSL.ts:98
MethodJSONDiffForFile
* Provides a simplified JSON diff between the two versions of a JSON file. This will always * be an object whose keys represent what has changed in
source/danger.d.ts:997
MethodJSONPatchForFile
* Provides a JSON patch (rfc6902) between the two versions of a JSON file, * returns null if you don't have any changes for the file in the diff.
source/danger.d.ts:978
MethodapiInstance
()
source/platforms/gitlab/GitLabAPI.ts:96
FunctionbitBucketCloudCommitToGitCommit
(commit: BitBucketCloudCommit)
source/platforms/bitbucket_cloud/BitBucketCloudGit.ts:30
MethodbranchName
()
source/ci_source/providers/AppCenter.ts:72
MethodbranchName
()
source/ci_source/providers/Codeship.ts:73
FunctionbuildRow
(row: string[])
source/runner/templates/markdownTableTemplate.ts:4
MethodciRunURL
()
source/ci_source/providers/Buildkite.ts:54
MethodciRunURL
()
source/ci_source/providers/Concourse.ts:57
MethodciRunURL
()
source/ci_source/providers/Cirrus.ts:47
MethodciRunURL
()
source/ci_source/providers/Circle.ts:96
MethodciRunURL
()
source/ci_source/providers/Codemagic.ts:42
MethodciRunURL
()
source/ci_source/providers/Jenkins.ts:80
MethodciRunURL
()
source/ci_source/providers/BuddyWorks.ts:43
MethodciRunURL
()
source/ci_source/providers/Travis.ts:82
MethodciRunURL
()
source/ci_source/providers/Codefresh.ts:70
MethodciRunURL
()
source/ci_source/providers/Bitrise.ts:67
MethodciRunURL
()
source/ci_source/providers/Screwdriver.ts:57
MethodcommitHash
()
source/ci_source/providers/Circle.ts:100
MethodcommitHash
()
source/ci_source/providers/GitLabCI.ts:29
MethodcommitHash
()
source/ci_source/providers/XcodeCloud.ts:40
MethodcommitHash
()
source/ci_source/providers/Jenkins.ts:84
MethodcommitHash
()
source/ci_source/providers/Bitrise.ts:71
Methodconstructor
* Parse the JSON and assign danger to this object * * Also add the arguments sent to the CLI * * @param JSONString DSL in JSON format *
source/runner/dangerDSLJSON.ts:37
Methodconstructor
( public readonly ciSource: CISource, public readonly platform: Platform, public readonly runner:
source/runner/Executor.ts:82
Methodconstructor
(public exitCode: number = 0)
source/runner/_tests/_executor.test.ts:34
Methodconstructor
(platformDSL: any, public readonly git: GitJSONDSL, public readonly utils: DangerUtilsDSL, name: string)
source/dsl/DangerDSL.ts:169
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/Buildkite.ts:23
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/Concourse.ts:33
Methodconstructor
(env: Env)
source/ci_source/providers/local-repo.ts:6
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/Cirrus.ts:23
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/AppCenter.ts:30
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/Drone.ts:26
Methodconstructor
(env: Env)
source/ci_source/providers/Fake.ts:7
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/Circle.ts:47
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/Netlify.ts:14
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/BitbucketPipelines.ts:36
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/Surf.ts:16
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/Bamboo.ts:35
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/TeamCity.ts:19
Methodconstructor
(private readonly env: Env, event: any = undefined)
source/ci_source/providers/GitHubActions.ts:223
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/GitLabCI.ts:5
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/Semaphore.ts:17
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/Codemagic.ts:13
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/XcodeCloud.ts:16
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/Jenkins.ts:39
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/BuddyWorks.ts:18
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/Travis.ts:58
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/Codefresh.ts:35
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/Bitrise.ts:43
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/Codeship.ts:40
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/VSTS.ts:16
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/CodeBuild.ts:24
Methodconstructor
(private readonly env: Env)
source/ci_source/providers/Screwdriver.ts:26
Methodconstructor
(public readonly api: BitBucketServerAPI)
source/platforms/BitBucketServer.ts:15
Methodconstructor
(public readonly api: GitLabAPI)
source/platforms/GitLab.ts:22
Methodconstructor
(public readonly api: BitBucketCloudAPI)
source/platforms/BitBucketCloud.ts:14
Methodconstructor
()
source/platforms/FakePlatform.ts:9
Methodconstructor
(public readonly options: LocalGitOptions)
source/platforms/LocalGit.ts:20
Methodconstructor
(public readonly repoMetadata: RepoMetaData, public readonly repoCredentials: BitBucketRepoCredentials)
source/platforms/bitbucket_server/BitBucketServerAPI.ts:62
Methodconstructor
(public readonly repoMetadata: RepoMetaData, public readonly token?: APIToken)
source/platforms/github/GitHubAPI.ts:77
Methodconstructor
(public readonly repoMetadata: RepoMetaData, public readonly repoCredentials: GitLabAPICredentials)
source/platforms/gitlab/GitLabAPI.ts:81
Methodconstructor
(public readonly repoMetadata: RepoMetaData, public readonly credentials: BitBucketCloudCredentials)
source/platforms/bitbucket_cloud/BitBucketCloudAPI.ts:95
MethodcreateComment
(_comment: string)
source/platforms/FakePlatform.ts:63
FunctioncreateDTS
()
scripts/danger-dts.ts:6
FunctioncreateDangerfileRuntimeEnvironment
(dangerfileContext: DangerContext)
source/runner/runners/inline.ts:23
MethodcreateInlineComment
(_git: GitDSL, _comment: string, _path: string, _line: number)
source/platforms/FakePlatform.ts:67
FunctioncustomModuleHandler
(module: any, filename: string)
source/runner/runners/inline.ts:67
FunctiondefaultMap
(a: any)
source/platforms/git/_tests/local_dangerfile_example.ts:9
Methoddelete
Make a delete call against the bitbucket server API
source/danger.d.ts:37
Methoddelete
Make a delete call against the bitbucket server API
source/danger.d.ts:229
Methoddelete
Make a delete call against the bitbucket server API
source/dsl/BitBucketServerDSL.ts:36
MethoddeleteInlineComment
(_id: string)
source/platforms/FakePlatform.ts:75
MethoddeleteInlineComment
(_id: string)
source/platforms/LocalGit.ts:91
MethoddeleteMainComment
()
source/platforms/FakePlatform.ts:79
MethoddiffForFile
* Offers the diff for a specific file * * @param {string} filename the path to the json file
source/danger.d.ts:960
MethodeditMainComment
(_comment: string)
source/platforms/LocalGit.ts:99
FunctionemptyResults
()
source/dsl/DangerResults.ts:240
← previousnext →301–400 of 621, ranked by callers