MCPcopy Create free account
hub / github.com/dropbox/dbxcli / operationSchema

Function operationSchema

cmd/json_contract_test.go:1126–1137  ·  view source on GitHub ↗
(input string, resultInput *string, result string, statuses, kinds, warnings []string)

Source from the content-addressed store, hash-verified

1124}
1125
1126func operationSchema(input string, resultInput *string, result string, statuses, kinds, warnings []string) jsonGoldenCommandSchema {
1127 return normalizeGoldenCommandSchema(jsonGoldenCommandSchema{
1128 TopLevel: "operation_output",
1129 ResultWrapper: "operation_result",
1130 Input: input,
1131 ResultInput: resultInput,
1132 Result: result,
1133 Statuses: statuses,
1134 Kinds: kinds,
1135 Warnings: warnings,
1136 })
1137}
1138
1139func schemaRef(name string) *string {
1140 return &name

Callers 1

jsonCommandSchemasFunction · 0.85

Calls 1

Tested by

no test coverage detected