(dest)
| 146 | } |
| 147 | |
| 148 | function pathExists(dest) { |
| 149 | return PromisePrototypeThen( |
| 150 | stat(dest), |
| 151 | () => true, |
| 152 | (err) => (err.code === 'ENOENT' ? false : PromiseReject(err))); |
| 153 | } |
| 154 | |
| 155 | // Recursively check if dest parent is a subdirectory of src. |
| 156 | // It works for all file types including symlinks since it |
no test coverage detected
searching dependent graphs…