webdav: add support for If-Match/If-None-Match in DELETE

This commit is contained in:
Simon Ser
2024-12-16 19:13:30 +01:00
parent c1bcf21ad4
commit 963b23b8d0
3 changed files with 48 additions and 21 deletions

View File

@@ -24,6 +24,11 @@ type CreateOptions struct {
IfNoneMatch ConditionalMatch
}
type RemoveAllOptions struct {
IfMatch ConditionalMatch
IfNoneMatch ConditionalMatch
}
type CopyOptions struct {
NoRecursive bool
NoOverwrite bool