You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
For some akward directory names, like "Esbj�rn Svensson Trio - EST Plays Monk", which in this case are a result of bad encoding, but are valid file names for Linux systems, fs.lstatSync fails with ENOENT.
These filenames can however be returned by fs.readdirSync.
I thought fs.lstatSync should work on any name returned by fs.readdirSync (except race conditions by simultanous fs manipulation).
The text was updated successfully, but these errors were encountered:
The filename example above is not verbatim, as it can not be pasted here as such. It consists a byte value above 127, which is not followed someting forming a valid UTF8 code group. Such filenames may be obtained by copying Latin1 encoded filenames to an UTF8 system.
For some akward directory names, like "Esbj�rn Svensson Trio - EST Plays Monk", which in this case are a result of bad encoding, but are valid file names for Linux systems,
fs.lstatSync
fails withENOENT
.These filenames can however be returned by fs.readdirSync.
I thought
fs.lstatSync
should work on any name returned byfs.readdirSync
(except race conditions by simultanous fs manipulation).The text was updated successfully, but these errors were encountered: