mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 02:09:55 +08:00
8cd3251b57
Before this change we checked that features.ReadMimeTime was set if and only if the Object.MimeType method was implemented. However this test is overly general - we don't care if Objects advertise MimeType when features.ReadMimeTime is set provided that they always return an empty string (which is what a wrapping backend might do). This patch implements that logic. |
||
---|---|---|
.. | ||
fstests | ||
mockdir | ||
mockfs | ||
mockobject | ||
test_all | ||
testserver | ||
testy | ||
fstest.go | ||
run.go |