Fails with WorktreePathExists when stat found anything at path, a file or a directory, even an empty one; passes when nothing is there.
stat
path
Fails with WorktreePathExists when
statfound anything atpath, a file or a directory, even an empty one; passes when nothing is there.