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
It doesn't return a list of entries. You still have to give it an onentry method. It'll just call that method synchronously, rather than calling it at some point in the future.
Otherwise, it would potentially be storing a huge amount of data in memory. All the sync functions work exactly the same as the async ones, just sooner.
Listing of a tarball contents works in asynchronous mode, but when 'sync' is passed to tar.t, undefined is returned.
Fedora 33. nodejs v14.18.1. tar v1.32
The following works:
But the following does not work:
Any insight as to why this is would be highly appreciated.
The text was updated successfully, but these errors were encountered: