MCPcopy Index your code
hub / github.com/cli/cli / testFullConfig

Function testFullConfig

internal/config/migrate_test.go:245–262  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

243}
244
245func testFullConfig() string {
246 var data = `
247git_protocol: ssh
248editor:
249prompt: enabled
250pager: less
251hosts:
252 github.com:
253 user: user1
254 oauth_token: xxxxxxxxxxxxxxxxxxxx
255 git_protocol: ssh
256 enterprise.com:
257 user: user2
258 oauth_token: yyyyyyyyyyyyyyyyyyyy
259 git_protocol: https
260`
261 return data
262}

Calls

no outgoing calls

Tested by

no test coverage detected