MCPcopy
hub / github.com/minio/minio-go / parseRFC7231Time

Function parseRFC7231Time

utils.go:269–271  ·  view source on GitHub ↗
(lastModified string)

Source from the content-addressed store, hash-verified

267}
268
269func parseRFC7231Time(lastModified string) (time.Time, error) {
270 return parseTime(lastModified, rfc822TimeFormat, rfc822TimeFormatSingleDigitDay, rfc822TimeFormatSingleDigitDayTwoDigitYear)
271}
272
273// ToObjectInfo converts http header values into ObjectInfo type,
274// extracts metadata and fills in all the necessary fields in ObjectInfo.

Callers 5

parseResponseMethod · 0.85
TestParseRFC7231TimeFunction · 0.85
amzRestoreToStructFunction · 0.85
ToObjectInfoFunction · 0.85

Calls 1

parseTimeFunction · 0.85

Tested by 1

TestParseRFC7231TimeFunction · 0.68