Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disk file system provider cannot delete empty folders #181898

Closed
bpasero opened this issue May 9, 2023 · 0 comments
Closed

Disk file system provider cannot delete empty folders #181898

bpasero opened this issue May 9, 2023 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug file-io File I/O insiders-released Patch has been released in VS Code Insiders verified Verification succeeded
Milestone

Comments

@bpasero
Copy link
Member

bpasero commented May 9, 2023

Found by @dbaeumer, there is a bug in the disk file system provider when attempting to delete an empty folder non-recursively.

Sample extension to test it:

await vscode.workspace.fs.delete(vscode.Uri.file('/Users/bpasero/Desktop/<empty folder>'), { recursive: false });
@bpasero bpasero added bug Issue identified by VS Code Team member as probable bug file-io File I/O labels May 9, 2023
@bpasero bpasero added this to the May 2023 milestone May 9, 2023
@bpasero bpasero self-assigned this May 9, 2023
@bpasero bpasero closed this as completed in 4660545 May 9, 2023
@VSCodeTriageBot VSCodeTriageBot added unreleased Patch has not yet been released in VS Code Insiders insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels May 9, 2023
@rzhao271 rzhao271 added the verified Verification succeeded label May 31, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug file-io File I/O insiders-released Patch has been released in VS Code Insiders verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants