Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs,doc: undeprecate existsSync
This has been dragged through various long discussions and has been elevated to the CTC multiple times. As noted in #7455 (comment), while this API is still generally considered an anti-pattern, there are still use-cases it is best suited for, such as checking if a git rebase is in progress by looking if ".git/rebase-apply/rebasing" exists. The general consensus is to undeprecate just the sync version, given that the async version still has the "arguments order inconsistency" problem. The consensus at the two last CTC meetings this came up at was also to undeprecate existsSync() but keep exists() deprecated. See: #8242 & #8330 (Description write-up by @Fishrock123) Fixes: #1592 Refs: #4217 Refs: #7455 PR-URL: #8364 Reviewed-By: James M Snell <firstname.lastname@example.org> Reviewed-By: Ilkka Myller <email@example.com> Reviewed-By: Matteo Collina <firstname.lastname@example.org> Reviewed-By: Benjamin Gruenbaum <email@example.com> Reviewed-By: Сковорода Никита Андреевич <firstname.lastname@example.org> Reviewed-By: Jeremiah Senkpiel <email@example.com>
- Loading branch information
Showing with 11 additions and 6 deletions.
- +11 −6 doc/api/fs.md