verify

actual fun verify(filePath: String, expected: String): Boolean
expect fun verify(filePath: String, expected: String): Boolean

Verifies that the file at filePath matches expected checksum.

Return

True if checksum matches.

Parameters

expected

Format: "sha256:hexstring"

actual fun verify(filePath: String, expected: String): Boolean