progress

suspend fun progress(): Long

Returns the sync progress of this file, that is, the total byte size of all the blocks of this file that's already been downloaded.

Note that Ouisync downloads the blocks in random order, so until the file's been completely downloaded, the already downloaded blocks are not guaranteed to continuous (they might be gaps).