Function libpijul::apply_resize [] [src]

pub fn apply_resize<'a, I: Iterator<Item = &'a Hash>>(
    target: &Path,
    branch_name: &str,
    remote: I
) -> Result<(), Error>

Apply a number of patches, guessing the new repository size. If this fails, the repository size is guaranteed to have been increased by at least some pages, and it is safe to call this function again.

Also, this function takes a file lock on the repository.