When the path is D:\ or C:\ on Windows, had the error which operation not permitted.
Maybe should to have options for ignore the error and keep to walking directory.
{ Error: EPERM: operation not permitted, stat 'D:\\System Volume Information'
at Object.statSync (fs.js:850:3)
at Object.statSync (D:\...\node_modules\graceful-fs\polyfills.js:295:24)
at klawSync (D:\...\node_modules\klaw-sync\klaw-sync.js:16:24)
....
}
When the path is D:\ or C:\ on Windows, had the error which operation not permitted.
Maybe should to have options for ignore the error and keep to walking directory.