MCPcopy Create free account
hub / github.com/chainreactors/spray / ParseExtension

Function ParseExtension

pkg/utils.go:455–460  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

453}
454
455func ParseExtension(s string) string {
456 if i := strings.Index(s, "."); i != -1 {
457 return s[i+1:]
458 }
459 return ""
460}
461
462// ParseStatus parses the input string and updates the preset status filters.
463func ParseStatus(preset []int, changed string) []int {

Callers 1

BuildWordsMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected