mirror of
https://github.com/1f349/go-webdav.git
synced 2024-10-18 08:51:50 +01:00
28 lines
444 B
Go
28 lines
444 B
Go
// Package webdav provides a client and server WebDAV filesystem implementation.
|
|
//
|
|
// WebDAV is defined in RFC 4918.
|
|
package webdav
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
// FileInfo holds information about a WebDAV file.
|
|
type FileInfo struct {
|
|
Path string
|
|
Size int64
|
|
ModTime time.Time
|
|
IsDir bool
|
|
MIMEType string
|
|
ETag string
|
|
}
|
|
|
|
type CopyOptions struct {
|
|
NoRecursive bool
|
|
NoOverwrite bool
|
|
}
|
|
|
|
type MoveOptions struct {
|
|
NoOverwrite bool
|
|
}
|