fn take(
root: Option<&Path>,
within: &Path,
file: &Path,
of: String,
limit: u64,
) -> Result<(PathBuf, Snapshot), String>Expand description
A read-only copy of file, which lies in the folder within (both resolved), in a folder of its own under
root: at most limit bytes. of is what its pane calls it. Returns the copy’s path.