Skip to content

Add ignore argument to copytree that lets one filter stuff out #145

@pjbull

Description

@pjbull

shutil.copytree has an ignore argument that lets one filter stuff out. Would be nice to support that too, but maybe it can be a future enhnacement.

https://docs.python.org/3/library/shutil.html#shutil.copytree

Originally posted by @jayqi in #142 (comment)


Seems like shutil just supports callables, and we may even just be able to point users to the same pattern constructor: https://docs.python.org/3/library/shutil.html#shutil.ignore_patterns

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions