mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 18:34:41 +01:00
29b1751d0e
Before this change rclone serve webdav would sometimes give this error Expecting fs.Object or fs.Directory, got <nil> It turns out that when a file is being updated it doesn't have a DirEntry and it is allowed to be <nil> so in this case we create the mime type from the extension. See: https://forum.rclone.org/t/webdav-union-of-onedrive-expecting-fs-object-or-fs-directory-got-nil/40298 |
||
---|---|---|
.. | ||
testdata/golden | ||
webdav_test.go | ||
webdav.go |