Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

feat: pull in new globSource #3889

Merged
merged 5 commits into from
Sep 23, 2021
Merged

feat: pull in new globSource #3889

merged 5 commits into from
Sep 23, 2021

Commits on Sep 23, 2021

  1. 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)`
    achingbrain committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    3de9d81 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    583feae View commit details
    Browse the repository at this point in the history
  3. chore: fix missing dep

    achingbrain committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    a19b305 View commit details
    Browse the repository at this point in the history
  4. chore: fix tests

    achingbrain committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    6345c3d View commit details
    Browse the repository at this point in the history
  5. chore: fix more tests

    achingbrain committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    7b50fda View commit details
    Browse the repository at this point in the history