Skip to content

Non-recursive directory copy incorrect #1232

@ianthomas23

Description

@ianthomas23

A non-recursive directory copy, which is a slightly silly thing to attempt but is supported, gives the wrong result.

cp("source/somedir/", "target/", recursive=False)

creates an empty directory target/somedir. But command-line cp, which is what we are basing our behaviour on, does nothing at all here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions