ln_sf_files_in_dir

Function ln_sf_files_in_dir 

Source
pub fn ln_sf_files_in_dir<P: AsRef<Path>>(
    target_dir: P,
    link_dir: P,
) -> Result<()>
Expand description

Creates symbolic links for all files in the target directory to the link directory.

ยงErrors

  • A filesystem operation (open/read/write/remove) fails.
  • Creating an individual symlink fails.
  • Traversing target_dir fails.