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

Function decodePutOutput

cmd/put_test.go:273–281  ·  view source on GitHub ↗
(t *testing.T, stdout *bytes.Buffer)

Source from the content-addressed store, hash-verified

271}
272
273func decodePutOutput(t *testing.T, stdout *bytes.Buffer) putOutputData {
274 t.Helper()
275
276 got := decodePutOutputWithWarnings(t, stdout)
277 if len(got.Warnings) != 0 {
278 t.Fatalf("warnings = %+v, want empty", got.Warnings)
279 }
280 return got
281}
282
283func decodePutOutputWithWarnings(t *testing.T, stdout *bytes.Buffer) putOutputData {
284 t.Helper()

Calls 1

Tested by

no test coverage detected