question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Edit walkSync to return items like what walk emits

See original GitHub issue

What do you think about editing walkSync so that it would be consistent with walk? That is, walkSync also returns an array of items {path:, stats:} instead of only file paths, consistent with what walk emits as its data?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
jprichardsoncommented, Nov 13, 2016

Yes, I like this a lot. However, since we just released 1.0.0, this wouldn’t make it until 2.0.0 since it’s a breaking change. I’d like to release 2.0.0 in early 2017 when we can drop Node v0.12 support.

1reaction
manidloucommented, Dec 31, 2016

@RyanZim I am preparing the docs to include the enhanced walkSync method.

Read more comments on GitHub >

github_iconTop Results From Across the Web

jprichardson/node-fs-extra - Remove walk() and walkSync()
RyanZim and I have decided to remove walk() and walkSync(). ... Edit walkSync to return items like what walk emits #310.
Read more >
fs-extra/CHANGELOG.md - UNPKG
All asynchronous native fs methods and fs-extra methods now return a promise if the ... "Edit walkSync to return items like what walk...
Read more >
walk-sync - npm
Start using walk-sync in your project by running `npm i walk-sync`. There are 457 other projects in the npm registry using walk-sync.
Read more >
ember-auto-import | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
Walk-sync NPM
Return an array containing all recursive files and directories under a given directory, similar to Unix find . Follows symlinks. Bare-bones, but very...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found