Skip to content

Commit

Permalink
Merge pull request #5152 from tertsdiepraam/cp-prepare-for-nu
Browse files Browse the repository at this point in the history
`cp`: make more types public and add more documentation (for nushell)
  • Loading branch information
tertsdiepraam authored Aug 18, 2023
2 parents f197895 + 597f516 commit 9e3d93e
Show file tree
Hide file tree
Showing 2 changed files with 210 additions and 149 deletions.
4 changes: 2 additions & 2 deletions src/uu/cp/src/copydir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use walkdir::{DirEntry, WalkDir};

use crate::{
aligned_ancestors, context_for, copy_attributes, copy_file, copy_link, preserve_hardlinks,
CopyResult, Error, Options, TargetSlice,
CopyResult, Error, Options,
};

/// Ensure a Windows path starts with a `\\?`.
Expand Down Expand Up @@ -307,7 +307,7 @@ fn copy_direntry(
pub(crate) fn copy_directory(
progress_bar: &Option<ProgressBar>,
root: &Path,
target: &TargetSlice,
target: &Path,
options: &Options,
symlinked_files: &mut HashSet<FileInformation>,
source_in_command_line: bool,
Expand Down
Loading

0 comments on commit 9e3d93e

Please sign in to comment.