Skip to main content

remove_view_copies

Function remove_view_copies 

Source
pub fn remove_view_copies(folder: &Path) -> usize
Expand description

Removes the copies written for viewers in a program’s folder (Library::view_copy), as a program does when it starts: the folders named as those copies’ are, with the files in them, and nothing else. Returns how many copies it removed.