MCPcopy Index your code
hub / github.com/perkeep/perkeep / parseBlobMeta

Function parseBlobMeta

pkg/blobserver/diskpacked/diskpacked.go:750–753  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

748}
749
750func parseBlobMeta(s string) (m blobMeta, ok bool) {
751 n, err := fmt.Sscan(s, &m.file, &m.offset, &m.size)
752 return m, n == 3 && err == nil
753}
754
755func (m blobMeta) String() string {
756 return fmt.Sprintf("%v %v %v", m.file, m.offset, m.size)

Callers 2

EnumerateBlobsMethod · 0.85
metaMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected