all: encode hrefs, replace hrefs with path in public API

Closes: https://github.com/emersion/go-webdav/issues/14
Closes: https://github.com/emersion/go-webdav/issues/16
This commit is contained in:
Simon Ser
2020-01-22 11:07:30 +01:00
parent 72c96af206
commit 6eeeccb96e
11 changed files with 96 additions and 92 deletions

View File

@@ -10,7 +10,7 @@ import (
// TODO: add ETag to FileInfo
type FileInfo struct {
Href string
Path string
Size int64
ModTime time.Time
IsDir bool