Skip to content

Commit 9e3d93e

Browse files
Merge pull request #5152 from tertsdiepraam/cp-prepare-for-nu
`cp`: make more types public and add more documentation (for nushell)
2 parents f197895 + 597f516 commit 9e3d93e

File tree

2 files changed

+210
-149
lines changed

2 files changed

+210
-149
lines changed

src/uu/cp/src/copydir.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use walkdir::{DirEntry, WalkDir};
2525

2626
use crate::{
2727
aligned_ancestors, context_for, copy_attributes, copy_file, copy_link, preserve_hardlinks,
28-
CopyResult, Error, Options, TargetSlice,
28+
CopyResult, Error, Options,
2929
};
3030

3131
/// Ensure a Windows path starts with a `\\?`.
@@ -307,7 +307,7 @@ fn copy_direntry(
307307
pub(crate) fn copy_directory(
308308
progress_bar: &Option<ProgressBar>,
309309
root: &Path,
310-
target: &TargetSlice,
310+
target: &Path,
311311
options: &Options,
312312
symlinked_files: &mut HashSet<FileInformation>,
313313
source_in_command_line: bool,

0 commit comments

Comments
 (0)