webdav: add support for ETag to client & server

This commit is contained in:
Simon Ser
2020-01-22 11:51:05 +01:00
parent 3268102d5a
commit f04c1c9421
5 changed files with 43 additions and 12 deletions

View File

@@ -7,12 +7,11 @@ import (
"time"
)
// TODO: add ETag to FileInfo
type FileInfo struct {
Path string
Size int64
ModTime time.Time
IsDir bool
MIMEType string
ETag string
}