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

Function decodeJSONOutput

cmd/share_link_json_test.go:387–392  ·  view source on GitHub ↗
(t *testing.T, data []byte, out any)

Source from the content-addressed store, hash-verified

385}
386
387func decodeJSONOutput(t *testing.T, data []byte, out any) {
388 t.Helper()
389 if err := json.Unmarshal(data, out); err != nil {
390 t.Fatalf("decode JSON output: %v\noutput: %s", err, string(data))
391 }
392}
393
394func decodeShareLinkOperationOutput[I, R any](t *testing.T, data []byte) shareLinkOperationOutputForTest[I, R] {
395 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected