rmdirSyncRecursive: Keep folder, but remove subtree? #94

Open
opened 2014-09-18 03:26:52 -07:00 by IngwiePhoenix · 0 comments
IngwiePhoenix commented 2014-09-18 03:26:52 -07:00 (Migrated from github.com)

I am needing to clear the contents of a folder before my app launches. As the permissions are normally -rw-rw-rw i can't chmod it, it seems...but I can remove it. But the documentation reads, that it will also remove the directory whose sub-tree was removed. How can I ensure that this won't happen?

Kind regards, Ingwie

I am needing to clear the contents of a folder before my app launches. As the permissions are normally `-rw-rw-rw` i can't chmod it, it seems...but I can remove it. But the documentation reads, that it will also remove the directory whose sub-tree was removed. How can I ensure that this won't happen? Kind regards, Ingwie
This repository is archived. You cannot comment on issues.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: code/wrench-js#94
No description provided.