manifest_contents: Return manifest contents

View source: R/backups.R

manifest_contentsR Documentation

Return manifest contents

Description

List all files in a backup from the manifest

Usage

manifest_contents(backup, table = "Files", collect = TRUE)

Arguments

backup

An ios_backup object (or something that can be passed to get_backup).

table

Which table should be returned from the manifest database.

collect

Should dplyr results be collected before being returned.

Details

A manifest file is a database that tracks all of the files in a backup. The fileID has traditioanally been a hash of the combination of the domain and the relative bath but by looking it up in the manifest, we can be sure to extract the correct file.

Value

This will return a tibble with the contact data. If collect==FALSE, it will be a lazy tibble. The following columns will be included

  • fileID A unique ID for each file in the backup

  • domain The domain where the file is used

  • flags Flags set on the file

Examples

## Not run: 
backup <- get_backup()
files <- manifest_contents(backup)
nrow(files)

## End(Not run)

MrFlick/myphone documentation built on Sept. 16, 2022, 12:07 p.m.