go-webdav/webdav.go

28 lines
444 B
Go
Raw Permalink Normal View History

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
import (
"time"
)
2024-01-08 13:35:19 +00:00
// FileInfo holds information about a WebDAV file.
type FileInfo struct {
Path string
2020-01-21 21:43:13 +00:00
Size int64
ModTime time.Time
IsDir bool
MIMEType string
ETag string
}
2023-12-15 14:16:01 +00:00
type CopyOptions struct {
NoRecursive bool
NoOverwrite bool
}
2024-01-18 12:25:14 +00:00
type MoveOptions struct {
NoOverwrite bool
}