aboutsummaryrefslogtreecommitdiffstats
path: root/test-data/dat/README.md
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-10-30 22:22:56 -0700
committerBryan Newbold <bnewbold@robocracy.org>2017-10-30 22:22:56 -0700
commitf2bc3a84fc723e1f05079d84891660c87b596b34 (patch)
treecd5c932cf76df327bf6ff7a336fbb291c8f9bb8c /test-data/dat/README.md
parent5c9d990068107e54a4d8206b9fd1d2c606ec8e95 (diff)
downloadgeniza-f2bc3a84fc723e1f05079d84891660c87b596b34.tar.gz
geniza-f2bc3a84fc723e1f05079d84891660c87b596b34.zip
add another example dat archive (and README)
Diffstat (limited to 'test-data/dat/README.md')
-rw-r--r--test-data/dat/README.md25
1 files changed, 25 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.