dsherret / dax

Cross-platform shell tools for Deno and Node.js inspired by zx.
MIT License
997 stars 34 forks source link

Additions to `PathRef` #105

Closed dsherret closed 3 months ago

dsherret commented 1 year ago
Yohe-Am commented 8 months ago

Some ideas:

Willing to write a PR for these.

dsherret commented 3 months ago

@Yohe-Am I think copying directories is implemented now. Let's open specific issues for specific features from now on. By removeSafe, do you just mean a method that would not throw when the file doesn't exit?

Yohe-Am commented 3 months ago

removeSafe, not throw when file doesn't exists

Yep, exactly that. removeIfExists or ensureDeleted some ways it could be named.