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

Function dropboxClientModified

cmd/put.go:506–509  ·  view source on GitHub ↗

Dropbox upload commit timestamps must be UTC with second precision.

(value time.Time)

Source from the content-addressed store, hash-verified

504
505// Dropbox upload commit timestamps must be UTC with second precision.
506func dropboxClientModified(value time.Time) *dropbox.DBXTime {
507 ts := dropbox.DBXTime(value.UTC().Round(time.Second))
508 return &ts
509}
510
511func putFileWithResult(src, dst string, opts putOptions) (putResult, error) {
512 ifExists, err := normalizePutIfExists(opts.ifExists)

Calls

no outgoing calls