Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ignore option to tiny-glob #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CasP0
Copy link

@CasP0 CasP0 commented Jan 19, 2025

Add an ignore option to the Options type and update the walk and glob functions to support it.

  • index.js

    • Add ignore option to the Options type.
    • Update walk function to skip files and directories matching ignore patterns.
    • Update glob function to pass ignore option to walk function.
  • index.d.ts

    • Add ignore option to the Options type.
  • sync.js

    • Add ignore option to the Options type.
    • Update walk function to skip files and directories matching ignore patterns.
    • Update glob function to pass ignore option to walk function.
  • sync.d.ts

    • Add ignore option to the Options type.
  • readme.md

    • Update API section to include the new ignore option.
  • test/glob.js

    • Add test cases to verify the ignore option functionality.

Add an `ignore` option to the `Options` type and update the `walk` and `glob` functions to support it.

* **index.js**
  - Add `ignore` option to the `Options` type.
  - Update `walk` function to skip files and directories matching `ignore` patterns.
  - Update `glob` function to pass `ignore` option to `walk` function.

* **index.d.ts**
  - Add `ignore` option to the `Options` type.

* **sync.js**
  - Add `ignore` option to the `Options` type.
  - Update `walk` function to skip files and directories matching `ignore` patterns.
  - Update `glob` function to pass `ignore` option to `walk` function.

* **sync.d.ts**
  - Add `ignore` option to the `Options` type.

* **readme.md**
  - Update `API` section to include the new `ignore` option.

* **test/glob.js**
  - Add test cases to verify the `ignore` option functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant