globSource missing!

in this README: https://github.com/ipfs/interface-js-ipfs-core/blob/master/SPEC/FILES.md 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