vikunja-api/vendor/github.com/samedi/caldav-go/lib/paths.go
2019-05-22 17:48:48 +00:00

10 lines
154 B
Go

package lib
import (
"path/filepath"
)
func ToSlashPath(path string) string {
cleanPath := filepath.Clean(path)
return filepath.ToSlash(cleanPath)
}