Skip to content

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