MCPcopy Create free account
hub / github.com/barnybug/cli53 / equalStringPtrs

Function equalStringPtrs

commands.go:572–580  ·  view source on GitHub ↗
(a, b *string)

Source from the content-addressed store, hash-verified

570}
571
572func equalStringPtrs(a, b *string) bool {
573 if a == nil && b == nil {
574 return true
575 } else if a != nil && b != nil {
576 return *a == *b
577 } else {
578 return false
579 }
580}
581
582func equalCaseInsensitiveStringPtrs(a, b *string) bool {
583 if a == nil && b == nil {

Callers 1

createRecordsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected