Better caldav support (#73)
This commit is contained in:
10
vendor/github.com/samedi/caldav-go/lib/paths.go
generated
vendored
Normal file
10
vendor/github.com/samedi/caldav-go/lib/paths.go
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
package lib
|
||||
|
||||
import (
|
||||
"path/filepath"
|
||||
)
|
||||
|
||||
func ToSlashPath(path string) string {
|
||||
cleanPath := filepath.Clean(path)
|
||||
return filepath.ToSlash(cleanPath)
|
||||
}
|
Reference in New Issue
Block a user