(s string)
| 453 | } |
| 454 | |
| 455 | func 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. |
| 463 | func ParseStatus(preset []int, changed string) []int { |