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

Function formatFileMetadata

cmd/ls.go:75–77  ·  view source on GitHub ↗
(e *files.FileMetadata, longFormat bool)

Source from the content-addressed store, hash-verified

73}
74
75func formatFileMetadata(e *files.FileMetadata, longFormat bool) string {
76 return formatFileMetadataWithOpts(e, listOptions{long: longFormat})
77}
78
79func formatFileMetadataWithOpts(e *files.FileMetadata, opts listOptions) string {
80 text := fmt.Sprintf("%s\t", e.PathDisplay)

Calls 1

Tested by 2

TestFormatFileMetadataFunction · 0.68