Implement `glob.hasMagic`
See original GitHub issueEnvironment
- OS Version: no matter
- Node.js Version: no matter
Actual behavior
Doesn’t have hasMagic
function.
Expected behavior
Has hasMagic
function. With same logic from https://github.com/isaacs/node-glob#globhasmagicpattern-options. Why? Allow full migrate from node-glob
to fast-glob
Steps to reproduce
not required
Code sample
not required
Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:6 (3 by maintainers)
Top Results From Across the Web
glob.hasMagic JavaScript and Node.js code examples - Tabnine
Check if the string looks like a glob pattern by using hasMagic if (glob.hasMagic(listItem)) { ... How to use. hasMagic. function. in. glob ......
Read more >Is it ok to use glob.has_magic? - Stack Overflow
Personally I would copy the regexp. It's not like the definition of glob patterns will ever change, forcing you to change it in...
Read more >How to use the glob.glob.sync function in glob - Snyk
How to use the glob.glob.sync function in glob. To help you get started, we've selected a few glob examples, based on popular ways...
Read more >glob - npm
Start using glob in your project by running `npm i glob`. There are 26772 other projects in the npm registry using glob.
Read more >Glob - master · Thomas Ribeyron / VIsioIMB_API - PLMlab
This is a glob implementation in JavaScript. ... glob.hasMagic(pattern, [options]). Returns true if there are any special characters in the pattern, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry, I moved this issue to the milestones
3.0.0
. Right now I work on performance issues.@evilebottnawi,
Right now, I’m working on a different functionality that allows me to reduce the File System time by 10-20%.
I will come back to this issue later (in the next week, as I think).