Skip to main content

check_upload_paths

Function check_upload_paths 

Source
pub(crate) fn check_upload_paths(
    workspace: &Path,
    paths: &[String],
) -> Result<Vec<String>, String>
Expand description

Check paths (absolute, or relative to the workspace) and return their canonical forms: each must be an existing file inside workspace after resolving .. and symlinks.