MCPcopy Create free account
hub / github.com/boyter/hashit / formatHashInput

Function formatHashInput

processor/processor.go:192–198  ·  view source on GitHub ↗

ToLower all of the input hashes so we can match them easily

()

Source from the content-addressed store, hash-verified

190
191// ToLower all of the input hashes so we can match them easily
192func formatHashInput() []string {
193 h := []string{}
194 for _, x := range Hash {
195 h = append(h, strings.ToLower(x))
196 }
197 return h
198}
199
200// Check if a hash was supplied to the input so we know if we should calculate it
201func hasHash(hash string) bool {

Callers 1

ProcessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected