Skip to content

Commit

Permalink
targz test data
Browse files Browse the repository at this point in the history
  • Loading branch information
jw2249a committed Jan 9, 2024
1 parent df0dd55 commit 8fbdd1b
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 852 deletions.
15 changes: 15 additions & 0 deletions Artifacts.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[dfA]
git-tree-sha1 = "18dbb96374d0c3cf4264ab69419a59cf3aed232e"

[[dfA.download]]
url = "https://raw.githubusercontent.com/jw2249a/FastLink.jl/main/test/dfA.tar.gz"
sha256 = "b3b6f01db6d4ff52320e99c7cb463fa05b7bfe88cdb84fda3956cdd488bb5390"

[dfB]
git-tree-sha1 = "11d7a35c3f453ae31e76a5d4143da07a70dd69a3"

[[dfB.download]]
url = "https://raw.githubusercontent.com/jw2249a/FastLink.jl/main/test/dfB.tar.gz"
sha256 = "c9c242667ee6a1dfe3c824d1053d035e1a7808ea8a4a0427b5cdd8dde3f8c49e"


11 changes: 11 additions & 0 deletions misc/create_artifacts.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using SHA, Inflate, Tar
fileA = "test/dfA.tar.gz"
fileB = "test/dfB.tar.gz"

println("sha256 = ", bytes2hex(open(sha256, fileA)))
println("git-tree-sha1 = ", Tar.tree_hash(IOBuffer(inflate_gzip(fileA))))

println("sha256 = ", bytes2hex(open(sha256, fileB)))
println("git-tree-sha1 = ", Tar.tree_hash(IOBuffer(inflate_gzip(fileB))))


Loading

0 comments on commit 8fbdd1b

Please sign in to comment.