MCPcopy
hub / github.com/rclone/rclone / timeString

Function timeString

backend/b2/b2.go:1881–1883  ·  view source on GitHub ↗

timeString returns modTime as the number of milliseconds elapsed since January 1, 1970 UTC as a decimal string.

(modTime time.Time)

Source from the content-addressed store, hash-verified

1879// timeString returns modTime as the number of milliseconds
1880// elapsed since January 1, 1970 UTC as a decimal string.
1881func timeString(modTime time.Time) string {
1882 return strconv.FormatInt(modTime.UnixNano()/1e6, 10)
1883}
1884
1885// parseTimeStringHelper converts a decimal string number of milliseconds
1886// elapsed since January 1, 1970 UTC into a time.Time

Callers 4

newLargeUploadMethod · 0.85
SetModTimeMethod · 0.85
UpdateMethod · 0.85
TestTimeStringFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestTimeStringFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…