| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Can you please fix the first commit message so that it adheres to our commit message guidelines? Thank you. |
Sorry, something went wrong.
@lpinca Is there a way to do that through GitHub, or does this require force-pushing new commits? |
Sorry, something went wrong.
|
It requires force pushing. |
Sorry, something went wrong.
|
@lpinca Okay -- unless I've misunderstood the lint, this should be OK now. |
Sorry, something went wrong.
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
|
Trying again. |
Sorry, something went wrong.
PR-URL: #50946 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #50946 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
| Back | FazBrowse Home | New Git URL |
Original author incorrectly assumed that lstat can only be used on symbolic links
The note incorrectly stated that .isDirectory() always returns false when the stats object was obtained from fs.lstat(). lstat can be used on any type of object -- not just symbolic links. When stats are obtained using lstat for a regular directory (not a link), .isDirectory() will return true.