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

Function entryTime

cmd/format.go:101–106  ·  view source on GitHub ↗
(e files.IsMetadata, opts listOptions)

Source from the content-addressed store, hash-verified

99}
100
101func entryTime(e files.IsMetadata, opts listOptions) time.Time {
102 if f, ok := e.(*files.FileMetadata); ok {
103 return getTime(f, opts)
104 }
105 return time.Time{}
106}
107
108func entryTypeOrder(e files.IsMetadata) int {
109 switch e.(type) {

Callers 1

compareLessFunction · 0.85

Calls 1

getTimeFunction · 0.85

Tested by

no test coverage detected