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

Function isWriteFileConflict

cmd/put.go:700–705  ·  view source on GitHub ↗
(err *files.WriteError)

Source from the content-addressed store, hash-verified

698}
699
700func isWriteFileConflict(err *files.WriteError) bool {
701 return err != nil &&
702 err.Tag == files.WriteErrorConflict &&
703 err.Conflict != nil &&
704 err.Conflict.Tag == files.WriteConflictErrorFile
705}
706
707func reportPutSkipped(opts putOptions, dst string) {
708 putOutput(opts).Status("Skipping %s (already exists)", dst)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected