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.
1 parent 7a9b209 commit dae0d33Copy full SHA for dae0d33
src/test/java/io/ipfs/api/RecursiveAddTest.java
@@ -1,7 +1,7 @@
1
package io.ipfs.api;
2
3
-import java.nio.file.Path;
4
-import java.nio.file.Paths;
+import java.io.*;
+import java.nio.file.*;
5
6
import org.junit.Assert;
7
import org.junit.Test;
@@ -18,6 +18,7 @@ public void testAdd() throws Exception {
18
String TEST_HASH = "QmWVMRbFTrA6pMhsfXzsyoWqmrhy5FPd4VitfX79R5bguw";
19
20
System.out.println("ipfs version: " + ipfs.version());
21
+ System.out.println("pwd: " + new File("").getPath());
22
23
Path path = Paths.get("src/test/resources/html");
24
MerkleNode node = ipfs.add(new NamedStreamable.FileWrapper(path.toFile())).get(0);
0 commit comments