pathseparator_unix.go 160 B

123456789
  1. //go:build unix
  2. package cwhub
  3. import "strings"
  4. func hasPathSuffix(hubpath string, remotePath string) bool {
  5. return strings.HasSuffix(hubpath, remotePath)
  6. }