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

Function relocationTestFileMetadata

cmd/cp_test.go:587–592  ·  view source on GitHub ↗
(pathDisplay string, size uint64)

Source from the content-addressed store, hash-verified

585}
586
587func relocationTestFileMetadata(pathDisplay string, size uint64) *files.FileMetadata {
588 metadata := files.NewFileMetadata(path.Base(pathDisplay), "id:"+path.Base(pathDisplay), dropbox.DBXTime(time.Time{}), dropbox.DBXTime(time.Time{}), "rev", size)
589 metadata.PathDisplay = pathDisplay
590 metadata.PathLower = strings.ToLower(pathDisplay)
591 return metadata
592}
593
594func relocationTestGetMetadataNotFoundError() error {
595 return files.GetMetadataAPIError{

Calls

no outgoing calls

Tested by

no test coverage detected