webdav: add MIMEType to FileInfo

This commit is contained in:
Simon Ser
2020-01-21 22:43:13 +01:00
parent c673e7c7e7
commit 02d1a7dbe8
3 changed files with 24 additions and 27 deletions

View File

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