We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b2fb7f2 + 033d132 commit 55babbbCopy full SHA for 55babbb
1 file changed
src/main/java/io/ipfs/api/IPFS.java
@@ -626,6 +626,11 @@ public String resolve(Multihash hash) throws IOException {
626
Map res = (Map) retrieveAndParse("name/resolve?arg=" + hash);
627
return (String)res.get("Path");
628
}
629
+
630
+ public String resolve(String name) throws IOException {
631
+ Map res = (Map) retrieveAndParse("name/resolve?arg=" + name);
632
+ return (String)res.get("Path");
633
+ }
634
635
636
public class DHT {
0 commit comments