MCPcopy
hub / github.com/github/git-sizer / String

Method String

git/oid.go:39–41  ·  view source on GitHub ↗

String formats `oid` as a string in hex format.

()

Source from the content-addressed store, hash-verified

37
38// String formats `oid` as a string in hex format.
39func (oid OID) String() string {
40 return hex.EncodeToString(oid.v[:])
41}
42
43// Bytes returns a byte slice view of `oid`, in binary format.
44func (oid OID) Bytes() []byte {

Callers 6

TestRefSelectionsFunction · 0.45
TestRefgroupsFunction · 0.45
NewObjectIterMethod · 0.45
ParseTagFunction · 0.45
ParseCommitFunction · 0.45
NewBatchObjectIterMethod · 0.45

Calls

no outgoing calls

Tested by 2

TestRefSelectionsFunction · 0.36
TestRefgroupsFunction · 0.36