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