docs: fix incorrect @param tag in checkDuplicateImage KDoc

This commit is contained in:
Rsedp8 2025-05-24 18:01:26 +02:00
parent 42dea5cfb5
commit 59892b9d23

View file

@ -138,10 +138,10 @@ class ImageProcessingService @Inject constructor(
}
/**
* Checks for duplicate image
* Checks for duplicate image by calculating its SHA1 hash and querying the media client.
*
* @param filePath file to be checked
* @return IMAGE_DUPLICATE or IMAGE_OK
* @param inputStream The input stream of the file to check.
* @return IMAGE_DUPLICATE if the file exists, or IMAGE_OK otherwise.
*/
private fun checkDuplicateImage(inputStream: InputStream): Single<Int> {
return Single.fromCallable { fileUtilsWrapper.getSHA1(inputStream) }