Skip to content

Commit 5f9a3e0

Browse files
committed
explicit returns: copy-tree now returns target-dir
Step 3a for #197 (comment) `copy-tree` return was formerly undocumented and happened to return `source-dir`. For consistency with `copy` and other fns, `copy-tree` now returns `target-dir` and is now explicitly documented as doing such. The bb fs API is deliberately vague about return types, but to be consistent with most other API fns, we return `target-dir` as a `Path`. Adjusted tests accordingly.
1 parent d85ab92 commit 5f9a3e0

4 files changed

Lines changed: 130 additions & 120 deletions

File tree

0 commit comments

Comments
 (0)