ipfs / kubo

An IPFS implementation in Go
https://docs.ipfs.tech/how-to/command-line-quick-start/
Other
16.16k stars 3.01k forks source link

Files API should handle ipfs protocol paths #2837

Open Kubuxu opened 8 years ago

Kubuxu commented 8 years ago

As files API provides functions not available elsewhere (ipfs fiels stat) it would be great if it was handling /ipfs/Qm...AAA paths also.

They are already not fully functional (you can't for example copy files from /ipfs/ directory in files API).

This extends to: /ipns/ and other if they are ever created.

whyrusleeping commented 8 years ago

I would not be opposed to this, lets do it.

whyrusleeping commented 8 years ago

This isnt as simple as I had initially thought. Its going to require either some moderate refactoring, or lots of special casing (or both). I'm going to bump it from the 0.4.3 milestone