Add a dirs_exist_ok
parameter to the copytree
implementation
#144
Labels
dirs_exist_ok
parameter to the copytree
implementation
#144
We could add a
dirs_exist_ok
parameter to copy tree. To do this, we would also need to raise onmkdir
if dir exists for cloud implementations. For most clientsmkdir
is a no-op right now, so that logic would need to be added/tested.It seems like
shutil.copytree
has adirs_exist_ok
parameter that controls thisexist_ok
. Do we want to mimic that interface?https://docs.python.org/3/library/shutil.html#shutil.copytree
Originally posted by @jayqi in #142 (comment)
The text was updated successfully, but these errors were encountered: