Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google/gapid
/ String
Method
String
core/git/sha.go:22–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
type
SHA [20]byte
21
22
func
(i SHA) String() string {
return
id.ID(i).String() }
23
24
// IsValid returns true if the identifier is non-zero.
25
func
(i SHA) IsValid() bool {
return
id.ID(i).IsValid() }
Callers
nothing calls this directly
Calls
2
String
Method · 0.65
ID
Method · 0.65
Tested by
no test coverage detected