Skip to content

Commit

Permalink
Fix posix-oneshot example directory name (#260)
Browse files Browse the repository at this point in the history
875977a changed the name of the directory containing leaves but failed
to make the change throughout the file. This commit updates the
remaining command examples with the new name.
  • Loading branch information
cmurphy authored Sep 23, 2024
1 parent 9bbf487 commit a912fbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/examples/posix-oneshot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ echo "bar" > /tmp/stuff/bar
echo "baz" > /tmp/stuff/baz

# Integrate all of these leaves into the tree
go run ./cmd/examples/posix-oneshot --storage_dir=${LOG_DIR} --entries="/tmp/logleaves/*"
go run ./cmd/examples/posix-oneshot --storage_dir=${LOG_DIR} --entries="/tmp/stuff/*"

# Check that the checkpoint is of the correct size and the leaves are present
cat ${LOG_DIR}/checkpoint
Expand All @@ -32,7 +32,7 @@ cat ${LOG_DIR}/tile/entries/000.p/*
go run github.com/mhutchinson/woodpecker@main --custom_log_type=tiles --custom_log_url=file:///${LOG_DIR}/ --custom_log_origin=example.com/log/testdata --custom_log_vkey=${LOG_PUBLIC_KEY}

# More entries can be added to the log using the following:
go run ./cmd/examples/posix-oneshot --storage_dir=${LOG_DIR} --entries="/tmp/logleaves/*"
go run ./cmd/examples/posix-oneshot --storage_dir=${LOG_DIR} --entries="/tmp/stuff/*"
```

## Using the log
Expand Down

0 comments on commit a912fbc

Please sign in to comment.