(s, prefix string)
| 1678 | ) |
| 1679 | |
| 1680 | func checkPrefixMatch(s, prefix string) int { |
| 1681 | if strings.HasPrefix(s, prefix) { |
| 1682 | return matchExact |
| 1683 | } |
| 1684 | |
| 1685 | if strings.HasPrefix(strings.ToLower(s), strings.ToLower(prefix)) { |
| 1686 | return matchCaseIns |
| 1687 | } |
| 1688 | |
| 1689 | return noMatch |
| 1690 | } |
| 1691 | |
| 1692 | func browseRoots(fsType fs.FilesystemType) []string { |
| 1693 | filesystem := fs.NewFilesystem(fsType, "") |
no outgoing calls