MCPcopy Index your code
hub / github.com/peter-evans/create-pull-request / config

Method config

src/git-command-manager.ts:95–107  ·  view source on GitHub ↗
(
    configKey: string,
    configValue: string,
    globalConfig?: boolean,
    add?: boolean
  )

Source from the content-addressed store, hash-verified

93 }
94
95 async config(
96 configKey: string,
97 configValue: string,
98 globalConfig?: boolean,
99 add?: boolean
100 ): Promise<void> {
101 const args: string[] = ['config', globalConfig ? '--global' : '--local']
102 if (add) {
103 args.push('--add')
104 }
105 args.push(...[configKey, configValue])
106 await this.exec(args)
107 }
108
109 async configExists(
110 configKey: string,

Callers 3

addSafeDirectoryMethod · 0.80
setExtraheaderConfigMethod · 0.80

Calls 2

execMethod · 0.95
pushMethod · 0.80

Tested by

no test coverage detected