github.com/crowdsecurity/crowdsec@v1.6.1/pkg/cwhub/pathseparator_unix.go (about) 1 //go:build unix 2 3 package cwhub 4 5 import "strings" 6 7 func hasPathSuffix(hubpath string, remotePath string) bool { 8 return strings.HasSuffix(hubpath, remotePath) 9 }