-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: pull in new globSource (#3889)
* feat: pull in new globSource The new globSource module has a simpler api. Old: ```js await ipfs.addAll(globSource('*', { recursive: true, cwd: './somedir' }) ``` New: ```js await ipfs.addAll(globSource('./somedir', '**/*')) ``` See the [minimatch](https://www.npmjs.com/package/minimatch) docs for more on what the pattern supports. BREAKING CHANGE: the globSource api has changed from `globSource(dir, opts)` to `globSource(dir, pattern, opts)`
- Loading branch information
1 parent
3dcf3ec
commit 32394c4
Showing
3 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters