Skip to content
Snippets Groups Projects
Commit 42132f1d authored by Laurent Senta's avatar Laurent Senta
Browse files

fix: add versions

parent 3ed8f394
No related branches found
No related tags found
1 merge request!1New
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
generated with: generated with:
```sh ```sh
# using ipfs version 0.18.1
mkdir testfiles && mkdir testfiles &&
echo "content" > testfiles/foo && echo "content" > testfiles/foo &&
ln -s foo testfiles/bar && ln -s foo testfiles/bar &&
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
generated with: generated with:
```sh ```sh
# using ipfs version 0.18.1
# CIDv0to1 is necessary because raw-leaves are enabled by default during # CIDv0to1 is necessary because raw-leaves are enabled by default during
# "ipfs add" with CIDv1 and disabled with CIDv0 # "ipfs add" with CIDv1 and disabled with CIDv0
CID_VAL="hello" CID_VAL="hello"
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
generated with: generated with:
```sh ```sh
# using ipfs version 0.18.1
mkdir -p rootDir/ipfs && mkdir -p rootDir/ipfs &&
mkdir -p rootDir/ipns && mkdir -p rootDir/ipns &&
mkdir -p rootDir/api && mkdir -p rootDir/api &&
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
generated with: generated with:
```sh ```sh
# using ipfs version 0.18.1
mkdir -p root2/root3/root4 && mkdir -p root2/root3/root4 &&
echo "hello" > root2/root3/root4/index.html && echo "hello" > root2/root3/root4/index.html &&
ROOT1_CID=$(ipfs add -Qrw --cid-version 1 root2) ROOT1_CID=$(ipfs add -Qrw --cid-version 1 root2)
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
generated with: generated with:
```sh ```sh
# using ipfs version 0.18.1
mkdir -p dir && mkdir -p dir &&
echo "hello application/vnd.ipld.raw" > dir/ascii.txt && echo "hello application/vnd.ipld.raw" > dir/ascii.txt &&
ROOT_DIR_CID=$(ipfs add -Qrw --cid-version 1 dir) && ROOT_DIR_CID=$(ipfs add -Qrw --cid-version 1 dir) &&
......
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
generated with: generated with:
```shell ```sh
# using ipfs version 0.18.1
mkdir -p subdir && mkdir -p subdir &&
echo "hello application/vnd.ipld.car" > subdir/ascii.txt && echo "hello application/vnd.ipld.car" > subdir/ascii.txt &&
ROOT_DIR_CID=$(ipfs add -Qrw --cid-version 1 subdir) && ROOT_DIR_CID=$(ipfs add -Qrw --cid-version 1 subdir) &&
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
generated with: generated with:
```sh ```sh
# using ipfs version 0.18.1
mkdir -p rootDir/ipfs && mkdir -p rootDir/ipfs &&
mkdir -p rootDir/ipns && mkdir -p rootDir/ipns &&
mkdir -p rootDir/api && mkdir -p rootDir/api &&
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
generated with: generated with:
```sh ```sh
# using ipfs version 0.18.1
HASH=$(echo "testing" | ipfs add -q) HASH=$(echo "testing" | ipfs add -q)
ipfs dag export $HASH > fixtures.car ipfs dag export $HASH > fixtures.car
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment