mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
docs: fix incorrect @param tag in checkDuplicateImage KDoc
This commit is contained in:
parent
42dea5cfb5
commit
59892b9d23
1 changed files with 3 additions and 3 deletions
|
|
@ -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) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue