ensure_verity

Function ensure_verity 

Source
pub async fn ensure_verity(repo: &Repo) -> Result<()>
Expand description

Ensure that fsverity is enabled on this repository.

  • Walk over all regular file objects and ensure that fsverity is enabled on them
  • Update the repo config if necessary to ensure that future objects have it by default
  • Update the repo config to enable fsverity on the file itself as a completion flag