Core API for ipfs command "ipfs add -r path"

Hi. I’m refactoring our IPFS’s code using IPFS Core API.

I checked UnixfsAPI.Add function. The function can just add content. I couldn’t pass directory path (like ipfs add -r path) instead of the content.
It means IPFS’s Core API doesn’t support that so far right ?

If it was correct, no problem. We can wait for implementing that :wink:

Thanks !

Or, Should we use coreunix.AddR function ?

Oh, Looks deprecated…