# Correctly check existence of target directory in \`copy_recursive\` function \(\#6875\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/49542757fde7dfef613504417b9be5cb97cd0335)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 49542757fde7dfef613504417b9be5cb97cd0335

Requested commit: 49542757fde7dfef613504417b9be5cb97cd0335

Commit: 49542757fde7dfef613504417b9be5cb97cd0335

Tree: ef397d9428dba675674f7978e7b46dfda6cb4cd3

Author: George Munyoro

Committer: GitHub

## Message

```
Correctly check existence of target directory in `copy_recursive` function (#6875)

Fixes https://github.com/zed-industries/zed/issues/6778

Release Notes:

- Fixed issue where copy-paste for folders was not working in the
project panel
([#6778](https://github.com/zed-industries/zed/issues/6778)).
```

## Parents

- [9ef830e9bbaa3c773f246031b5520c95e70dfdfc](https://git.cafe/gitcafe/zed/commit/9ef830e9bbaa3c773f246031b5520c95e70dfdfc?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/49542757fde7dfef613504417b9be5cb97cd0335?format=markdown)
