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

Function testPutCmd

cmd/put_test.go:242–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240}
241
242func testPutCmd() *cobra.Command {
243 cmd := &cobra.Command{}
244 cmd.Flags().BoolP("recursive", "r", false, "Recursively upload directories")
245 cmd.Flags().IntP("workers", "w", 4, "Number of concurrent upload workers to use")
246 cmd.Flags().Int64P("chunksize", "c", 1<<24, "Chunk size to use (should be multiple of 4MiB)")
247 cmd.Flags().BoolP("debug", "d", false, "Print debug timing")
248 cmd.Flags().String("if-exists", putIfExistsOverwrite, "What to do when the destination file exists: overwrite, skip, or fail")
249 return cmd
250}
251
252func testPutJSONCmd(stdout, stderr *bytes.Buffer) *cobra.Command {
253 cmd := testPutCmd()

Calls

no outgoing calls

Tested by

no test coverage detected