diff options
20 files changed, 35 insertions, 0 deletions
diff --git a/test-data/dat/README.md b/test-data/dat/README.md new file mode 100644 index 0000000..0eec5b9 --- /dev/null +++ b/test-data/dat/README.md @@ -0,0 +1,25 @@ + +## simple + +This is a simple (but not the simplest possible) dat archive: a single short +README file, which is added in one version and modified in the second (to +include a self-reference to the dat address). + +## alphabet + +This dat archive is intended to match the content tree examples from the +`hypercore` registry. + +To generate single-character files with no trailing newline: + + echo -n 'a' > a + echo -n 'b' > b + echo -n 'c' > c + echo -n 'd' > d + echo -n 'e' > e + echo -n 'f' > f + +## tree + +This archive has a bunch of deeply nested folders, to demonstrate hyperdrive +lookup behavior. diff --git a/test-data/dat/alphabet/.dat/content.bitfield b/test-data/dat/alphabet/.dat/content.bitfield Binary files differnew file mode 100644 index 0000000..f2037c2 --- /dev/null +++ b/test-data/dat/alphabet/.dat/content.bitfield diff --git a/test-data/dat/alphabet/.dat/content.key b/test-data/dat/alphabet/.dat/content.key new file mode 100644 index 0000000..2fe98bf --- /dev/null +++ b/test-data/dat/alphabet/.dat/content.key @@ -0,0 +1 @@ +=;'IRKMw,8W
\ No newline at end of file diff --git a/test-data/dat/alphabet/.dat/content.secret_key b/test-data/dat/alphabet/.dat/content.secret_key new file mode 100644 index 0000000..55d4997 --- /dev/null +++ b/test-data/dat/alphabet/.dat/content.secret_key @@ -0,0 +1 @@ +2*r8!I*kY(³4R+)2=;'IRKMw,8W
\ No newline at end of file diff --git a/test-data/dat/alphabet/.dat/content.signatures b/test-data/dat/alphabet/.dat/content.signatures Binary files differnew file mode 100644 index 0000000..78ccecb --- /dev/null +++ b/test-data/dat/alphabet/.dat/content.signatures diff --git a/test-data/dat/alphabet/.dat/content.tree b/test-data/dat/alphabet/.dat/content.tree Binary files differnew file mode 100644 index 0000000..8799ca6 --- /dev/null +++ b/test-data/dat/alphabet/.dat/content.tree diff --git a/test-data/dat/alphabet/.dat/metadata.bitfield b/test-data/dat/alphabet/.dat/metadata.bitfield Binary files differnew file mode 100644 index 0000000..6d17118 --- /dev/null +++ b/test-data/dat/alphabet/.dat/metadata.bitfield diff --git a/test-data/dat/alphabet/.dat/metadata.data b/test-data/dat/alphabet/.dat/metadata.data Binary files differnew file mode 100644 index 0000000..0753229 --- /dev/null +++ b/test-data/dat/alphabet/.dat/metadata.data diff --git a/test-data/dat/alphabet/.dat/metadata.key b/test-data/dat/alphabet/.dat/metadata.key new file mode 100644 index 0000000..3daadea --- /dev/null +++ b/test-data/dat/alphabet/.dat/metadata.key @@ -0,0 +1 @@ +!C'2(Z)F:Qf!;7
\ No newline at end of file diff --git a/test-data/dat/alphabet/.dat/metadata.latest b/test-data/dat/alphabet/.dat/metadata.latest new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test-data/dat/alphabet/.dat/metadata.latest diff --git a/test-data/dat/alphabet/.dat/metadata.ogd b/test-data/dat/alphabet/.dat/metadata.ogd Binary files differnew file mode 100644 index 0000000..f76dd23 --- /dev/null +++ b/test-data/dat/alphabet/.dat/metadata.ogd diff --git a/test-data/dat/alphabet/.dat/metadata.secret_key b/test-data/dat/alphabet/.dat/metadata.secret_key new file mode 100644 index 0000000..b821528 --- /dev/null +++ b/test-data/dat/alphabet/.dat/metadata.secret_key @@ -0,0 +1 @@ +8Sڗ-2o7:O}c'vR!C'2(Z)F:Qf!;7
\ No newline at end of file diff --git a/test-data/dat/alphabet/.dat/metadata.signatures b/test-data/dat/alphabet/.dat/metadata.signatures Binary files differnew file mode 100644 index 0000000..51de650 --- /dev/null +++ b/test-data/dat/alphabet/.dat/metadata.signatures diff --git a/test-data/dat/alphabet/.dat/metadata.tree b/test-data/dat/alphabet/.dat/metadata.tree Binary files differnew file mode 100644 index 0000000..5387139 --- /dev/null +++ b/test-data/dat/alphabet/.dat/metadata.tree diff --git a/test-data/dat/alphabet/a b/test-data/dat/alphabet/a new file mode 100644 index 0000000..2e65efe --- /dev/null +++ b/test-data/dat/alphabet/a @@ -0,0 +1 @@ +a
\ No newline at end of file diff --git a/test-data/dat/alphabet/b b/test-data/dat/alphabet/b new file mode 100644 index 0000000..63d8dbd --- /dev/null +++ b/test-data/dat/alphabet/b @@ -0,0 +1 @@ +b
\ No newline at end of file diff --git a/test-data/dat/alphabet/c b/test-data/dat/alphabet/c new file mode 100644 index 0000000..3410062 --- /dev/null +++ b/test-data/dat/alphabet/c @@ -0,0 +1 @@ +c
\ No newline at end of file diff --git a/test-data/dat/alphabet/d b/test-data/dat/alphabet/d new file mode 100644 index 0000000..c59d9b6 --- /dev/null +++ b/test-data/dat/alphabet/d @@ -0,0 +1 @@ +d
\ No newline at end of file diff --git a/test-data/dat/alphabet/e b/test-data/dat/alphabet/e new file mode 100644 index 0000000..9cbe6ea --- /dev/null +++ b/test-data/dat/alphabet/e @@ -0,0 +1 @@ +e
\ No newline at end of file diff --git a/test-data/dat/alphabet/f b/test-data/dat/alphabet/f new file mode 100644 index 0000000..4d1ae35 --- /dev/null +++ b/test-data/dat/alphabet/f @@ -0,0 +1 @@ +f
\ No newline at end of file |