peekBackupFile

suspend fun peekBackupFile(pathToBackupFile: String): BackupPeekResult

Peeks into the specified backup file and retrieves metadata about it.

Return

a BackupPeekResult that contains information about the backup, such as version, encryption status, etc.

Parameters

pathToBackupFile

the path to the backup file to be inspected