2020-01-21 20:01:18 +00:00
|
|
|
// Package webdav provides a client and server WebDAV filesystem implementation.
|
|
|
|
//
|
|
|
|
// WebDAV is defined in RFC 4918.
|
|
|
|
package webdav
|
2020-01-21 21:36:42 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
2024-01-08 13:35:19 +00:00
|
|
|
// FileInfo holds information about a WebDAV file.
|
2020-01-21 21:36:42 +00:00
|
|
|
type FileInfo struct {
|
2020-01-22 10:07:30 +00:00
|
|
|
Path string
|
2020-01-21 21:43:13 +00:00
|
|
|
Size int64
|
|
|
|
ModTime time.Time
|
|
|
|
IsDir bool
|
|
|
|
MIMEType string
|
2020-01-22 10:51:05 +00:00
|
|
|
ETag string
|
2020-01-21 21:36:42 +00:00
|
|
|
}
|
2023-12-15 14:16:01 +00:00
|
|
|
|
|
|
|
type CopyOptions struct {
|
|
|
|
NoRecursive bool
|
|
|
|
NoOverwrite bool
|
|
|
|
}
|