MCPcopy Create free account
hub / github.com/git-bug/git-bug / ReadTimestamp

Method ReadTimestamp

repository/gogit_config.go:153–159  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

151}
152
153func (cr *goGitConfigReader) ReadTimestamp(key string) (time.Time, error) {
154 value, err := cr.ReadString(key)
155 if err != nil {
156 return time.Time{}, err
157 }
158 return ParseTimestamp(value)
159}
160
161var _ ConfigWrite = &goGitConfigWriter{}
162

Callers

nothing calls this directly

Calls 2

ReadStringMethod · 0.95
ParseTimestampFunction · 0.85

Tested by

no test coverage detected