Hi, I’m running Kubo v0.14.0 and would like to know what’s the correct and reliable way to learn the type of an IPFS path. That is, if it is a UnixFS object, and if it’s a directory or a file.
I know of /v0/ls but that doesn’t return the type of the path itself, only of the links. Plus I don’t know beforehand if the path is even UnixFS, the call may result in an error…
But I thought all of the /v0/files/* were only for MFS, nothing else. Looking at ipfs files --help it says “Interact with unixfs files.” but I don’t remember this… Maybe it has changed since I first started using it.