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

Function jsonTime

cmd/json_metadata.go:76–82  ·  view source on GitHub ↗
(t time.Time)

Source from the content-addressed store, hash-verified

74}
75
76func jsonTime(t time.Time) *string {
77 if t.IsZero() {
78 return nil
79 }
80 value := t.UTC().Format(time.RFC3339)
81 return &value
82}

Callers 4

jsonMetadataFromDropboxFunction · 0.85
jsonDBXTimePtrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected