globSource missing!

in this README: 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 spelunkers, this issue was resolved here:

1 Like