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

Function removeOperationResults

cmd/rm.go:85–91  ·  view source on GitHub ↗
(results []removeResult)

Source from the content-addressed store, hash-verified

83}
84
85func removeOperationResults(results []removeResult) []jsonOperationResult {
86 operationResults := make([]jsonOperationResult, 0, len(results))
87 for _, result := range results {
88 operationResults = append(operationResults, newJSONOperationResult(removeJSONStatus(result), result.Result.Type, result.Input, result.Result))
89 }
90 return operationResults
91}
92
93func removeJSONStatus(result removeResult) string {
94 if result.Input.Permanent {

Callers 1

rmFunction · 0.85

Calls 2

newJSONOperationResultFunction · 0.85
removeJSONStatusFunction · 0.85

Tested by

no test coverage detected