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

Function parseRelocationOptions

cmd/relocation_if_exists.go:19–25  ·  view source on GitHub ↗
(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

17}
18
19func parseRelocationOptions(cmd *cobra.Command) (relocationOptions, error) {
20 ifExists, err := parseRelocationIfExists(cmd)
21 if err != nil {
22 return relocationOptions{}, err
23 }
24 return relocationOptions{ifExists: ifExists}, nil
25}
26
27func parseRelocationIfExists(cmd *cobra.Command) (string, error) {
28 if cmd == nil {

Callers 2

cpFunction · 0.85
mvFunction · 0.85

Calls 1

parseRelocationIfExistsFunction · 0.85

Tested by

no test coverage detected