MCPcopy
hub / github.com/direnv/direnv / String

Method String

pkg/sri/sri.go:33–35  ·  view source on GitHub ↗

String returns a SRI-encoded string

()

Source from the content-addressed store, hash-verified

31
32// String returns a SRI-encoded string
33func (h *Hash) String() string {
34 return h.algo + "-" + b64Enc.EncodeToString(h.sum)
35}
36
37// Hex return a hex-encoded representation of the sum
38func (h *Hash) Hex() string {

Callers 10

TestWriterFunction · 0.80
TestParserFunction · 0.80
DumpMethod · 0.80
ExportMethod · 0.80
ExportMethod · 0.80
DumpMethod · 0.80
ExportMethod · 0.80
DumpMethod · 0.80
cmdFetchURLFunction · 0.80
TestFTJsonsFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestWriterFunction · 0.64
TestParserFunction · 0.64
TestFTJsonsFunction · 0.64