9235f55c47
* generalize function: GetInstalledItems, GetInstalledItemsAsString * extracted function itemKey, happy path * review comments / remove redundant; rename file to remove build tags * remove unused fields in Item struct * unix build tag
9 lines
160 B
Go
9 lines
160 B
Go
//go:build unix
|
|
|
|
package cwhub
|
|
|
|
import "strings"
|
|
|
|
func hasPathSuffix(hubpath string, remotePath string) bool {
|
|
return strings.HasSuffix(hubpath, remotePath)
|
|
}
|