Skip to content

Commit 1ed3070

Browse files
committed
release v1.3.5
Add Cid.bareMultihash()
1 parent 160637b commit 1ed3070

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<attribute name="Class-Path" value="${manifest_cp}"/>
4141
<attribute name="Implementation-Vendor" value="io.ipfs"/>
4242
<attribute name="Implementation-Title" value="cid"/>
43-
<attribute name="Implementation-Version" value="1.3.4"/>
43+
<attribute name="Implementation-Version" value="1.3.5"/>
4444
</manifest>
4545
</jar>
4646
</target>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.github.ipld</groupId>
66
<artifactId>java-cid</artifactId>
7-
<version>v1.3.4</version>
7+
<version>v1.3.5</version>
88
<packaging>jar</packaging>
99

1010
<name>cid</name>

src/main/java/io/ipfs/cid/Cid.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ public String toString() {
9898
throw new IllegalStateException("Unknown Cid version: " + version);
9999
}
100100

101+
public Multihash bareMultihash() {
102+
return new Multihash(getType(), getHash());
103+
}
104+
101105
@Override
102106
public boolean equals(Object o) {
103107
if (this == o) return true;

0 commit comments

Comments
 (0)