aboutsummaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorAkshay <[email protected]>2022-08-02 15:20:46 +0100
committerAkshay <[email protected]>2022-08-02 15:27:12 +0100
commitcfc70207996e202edbb577b2ad97a61ba9eb0eaa (patch)
tree97a3f25c3016766d6456efb748d48cbc6c525a47 /Cargo.lock
parentefd96e8df6805a45aaf5822141dee11c642b51ae (diff)
add textual comparisonHEADmaster
structural comparison helps detect a vast majority of duplicates, but it has a few false positives when files contain only trivia. textual similarity can help detect and eliminate those false positives.
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock16
1 files changed, 16 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 6c0cbfd..ecfe571 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -23,6 +23,7 @@ version = "0.1.0"
23dependencies = [ 23dependencies = [
24 "itertools", 24 "itertools",
25 "rayon", 25 "rayon",
26 "simhash",
26 "thiserror", 27 "thiserror",
27 "tree-sitter", 28 "tree-sitter",
28 "tree-sitter-javascript", 29 "tree-sitter-javascript",
@@ -212,6 +213,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
212checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 213checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
213 214
214[[package]] 215[[package]]
216name = "simhash"
217version = "0.2.0"
218source = "registry+https://github.com/rust-lang/crates.io-index"
219checksum = "cd8e19fb8912cfcdc26507d2e38f53c9f7462b58bf7356f6f91acfb632d3a224"
220dependencies = [
221 "siphasher",
222]
223
224[[package]]
225name = "siphasher"
226version = "0.2.3"
227source = "registry+https://github.com/rust-lang/crates.io-index"
228checksum = "0b8de496cf83d4ed58b6be86c3a275b8602f6ffe98d3024a869e124147a9a3ac"
229
230[[package]]
215name = "syn" 231name = "syn"
216version = "1.0.98" 232version = "1.0.98"
217source = "registry+https://github.com/rust-lang/crates.io-index" 233source = "registry+https://github.com/rust-lang/crates.io-index"