MCPcopy Index your code
hub / github.com/Shopify/go-lua / maskToString

Function maskToString

debug.go:442–453  ·  view source on GitHub ↗
(mask byte)

Source from the content-addressed store, hash-verified

440}
441
442func maskToString(mask byte) (s string) {
443 if mask&MaskCall != 0 {
444 s += "c"
445 }
446 if mask&MaskReturn != 0 {
447 s += "r"
448 }
449 if mask&MaskLine != 0 {
450 s += "l"
451 }
452 return
453}
454
455func stringToMask(s string, maskCount bool) (mask byte) {
456 for r, b := range map[rune]byte{'c': MaskCall, 'r': MaskReturn, 'l': MaskLine} {

Callers 1

debug.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected