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

Function restoreErrorDetails

cmd/restore.go:77–79  ·  view source on GitHub ↗
(path, revision string)

Source from the content-addressed store, hash-verified

75}
76
77func restoreErrorDetails(path, revision string) map[string]any {
78 return mergeJSONErrorDetails(operationErrorDetails("restore"), pathErrorDetails(path), revisionErrorDetails(revision))
79}
80
81func newRestoreResult(path, revision string, metadata *files.FileMetadata) (restoreResult, error) {
82 result, err := restoreMetadataFromDropbox(path, metadata)

Callers 2

restoreFunction · 0.85

Calls 4

mergeJSONErrorDetailsFunction · 0.85
operationErrorDetailsFunction · 0.85
pathErrorDetailsFunction · 0.85
revisionErrorDetailsFunction · 0.85

Tested by 1