Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/main/java/io/ipfs/api/IPFS.java
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,6 @@ public Map resolve(String scheme, Multihash hash, boolean recursive) throws IOEx
return retrieveMap("resolve?arg=/" + scheme+"/"+hash +"&r="+recursive);
}

@Deprecated
public String dns(String domain, boolean recursive) throws IOException {
Map res = retrieveMap("dns?arg=" + domain + "&r=" + recursive);
return (String)res.get("Path");
}

public Map mount(java.io.File ipfsRoot, java.io.File ipnsRoot) throws IOException {
if (ipfsRoot != null && !ipfsRoot.exists())
ipfsRoot.mkdirs();
Expand Down
6 changes: 0 additions & 6 deletions src/test/java/io/ipfs/api/APITest.java
Original file line number Diff line number Diff line change
Expand Up @@ -735,12 +735,6 @@ public void nameTest() throws IOException {
String resolved = ipfs.name.resolve(Cid.decode((String) pub.get("Name")));
}

@Test
public void dnsTest() throws IOException {
String domain = "ipfs.io";
String dns = ipfs.dns(domain, true);
}

public void mountTest() throws IOException {
Map mount = ipfs.mount(null, null);
}
Expand Down