(path string, args []string)
| 57 | } |
| 58 | |
| 59 | func removePath(path string, args []string) bool { |
| 60 | withoutCurrentDir := tools.TrimCurrentPrefix(path) |
| 61 | for _, t := range args { |
| 62 | if withoutCurrentDir == escapeAttrPattern(tools.TrimCurrentPrefix(t)) { |
| 63 | return true |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | return false |
| 68 | } |
| 69 | |
| 70 | func init() { |
| 71 | RegisterCommand("untrack", untrackCommand, nil) |
no test coverage detected