Skip to content

Commit

Permalink
修复验证模式
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavo committed Jun 17, 2021
1 parent 6a2da56 commit ea238d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,6 @@ aad60635eee567254ed29f18fb18c0f9e4c4dacf51c8229128203183bb35e2dd libs/ini4j-0.5.

每行的内容为 哈希码-空格-文件相对路径。文件中不存储哈希码使用的算法。

gchecksum 生成时会按路径排序,但校验时不要求顺序。
gchecksum 生成时会按路径排序,但校验时不要求顺序。

## 性能
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = "org.glavo"
version = "0.6.0" + "-SNAPSHOT"
version = "0.6.0" //+ "-SNAPSHOT"

val mainName = "org.glavo.checksum.Main"

Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/glavo/checksum/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public static void main(String[] args) throws Exception {
} finally {
reader.close();
}

break;
}
case Create: {
if (algorithm == null) {
Expand All @@ -229,6 +229,7 @@ public static void main(String[] args) throws Exception {
} finally {
writer.close();
}
break;
}
}

Expand Down

0 comments on commit ea238d4

Please sign in to comment.