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

Function getTestFolderMetadata

cmd/get_test.go:85–94  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

83}
84
85func getTestFolderMetadata(path string) *files.FolderMetadata {
86 return &files.FolderMetadata{
87 Metadata: files.Metadata{
88 Name: strings.TrimPrefix(path, "/"),
89 PathDisplay: path,
90 PathLower: strings.ToLower(path),
91 },
92 Id: "id:" + strings.TrimPrefix(path, "/"),
93 }
94}
95
96func TestGetArgValidation(t *testing.T) {
97 err := get(getCmd, []string{})

Calls

no outgoing calls

Tested by

no test coverage detected