globSource missing!

in this README: interface-js-ipfs-core/SPEC/FILES.md at master · ipfs-inactive/interface-js-ipfs-core · GitHub it is stated I can:

const IPFS = require('ipfs')
const { globSource } = IPFS

but when I do globSource is undefined. I initially installed ipfs but then installed ipfs-http-client , neither of which this works for. can we fix the documentation, and what is the correct way to import the contents of a directory now?

For future discuss.ipfs.io spelunkers, this issue was resolved here: https://github.com/ipfs/interface-js-ipfs-core/issues/585

1 Like