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

Function downloadFile

cmd/get.go:372–375  ·  view source on GitHub ↗
(dbx filesClient, src string, dst string)

Source from the content-addressed store, hash-verified

370}
371
372func downloadFile(dbx filesClient, src string, dst string) error {
373 _, err := downloadFileWithMetadata(dbx, src, dst, os.Stderr)
374 return err
375}
376
377func downloadFileWithResult(dbx filesClient, src string, dst string, opts getOptions) (getResult, error) {
378 metadata, err := downloadFileWithMetadata(dbx, src, dst, getErrorOutput(opts))

Calls 1

downloadFileWithMetadataFunction · 0.85