mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
fir regression with VFS availability test on Windows
ensure we report the expected availability erro for non existing files Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
60b1091e13
commit
49267b894b
@ -354,7 +354,7 @@ Vfs::AvailabilityResult VfsCfApi::availability(const QString &folderPath, const
|
||||
break;
|
||||
};
|
||||
return VfsItemAvailability::Mixed;
|
||||
} else {
|
||||
} else if (basePinState) {
|
||||
const auto hydrationAndPinStates = computeRecursiveHydrationAndPinStates(folderPath, basePinState);
|
||||
|
||||
const auto pin = hydrationAndPinStates.pinState;
|
||||
@ -382,6 +382,8 @@ Vfs::AvailabilityResult VfsCfApi::availability(const QString &folderPath, const
|
||||
}
|
||||
}
|
||||
return AvailabilityError::NoSuchItem;
|
||||
} else {
|
||||
return AvailabilityError::NoSuchItem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user