From 74504c90d331ab4cbee5f4ab3e55f05826649325 Mon Sep 17 00:00:00 2001 From: Josh Hansen Date: Thu, 24 Aug 2023 15:56:28 -0700 Subject: [PATCH] Corrected example_output --- example_output | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/example_output b/example_output index ef87577..6317fbf 100644 --- a/example_output +++ b/example_output @@ -1,35 +1,42 @@ + mkdir people -mkdir: cannot create directory ‘people’: File exists + touch ./people/Sandeep ./people/Sofia ./people/Wulfrum + ghee set -s name=Sandeep -s id=2 -s state=CA ./people/Sandeep + ghee set -s name=Sofia -s id=1 -s state=WA ./people/Sofia + ghee set -s name=Wulfrum -s id=0 -s state=CA ./people/Wulfrum + ghee init -k name ./people -thread 'main' panicked at 'Error initializing table ./people: Table is already initialized', src/bin/ghee.rs:296:37 -note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + ghee idx -v -k id ./people ./people:id -thread 'main' panicked at 'Could not hard link ./people/Darrel to ./people:id/5: File exists (os error 17)', src/cmd/idx.rs:70:13 -note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace +./people/Sandeep -> ./people:id/2 +./people/Sofia -> ./people:id/1 +./people/Wulfrum -> ./people:id/0 + ghee idx -v -k state -k id ./people -thread 'main' panicked at 'Could not hard link ./people/Darrel to ./people/:state:id/MI/5: File exists (os error 17)', src/cmd/idx.rs:70:13 -note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace +./people/Sandeep -> ./people/:state:id/CA/2 +./people/Sofia -> ./people/:state:id/WA/1 +./people/Wulfrum -> ./people/:state:id/CA/0 + ghee ins -v ./people Initialized ./people/Janella -thread 'main' panicked at 'Error inserting record(s) into ./people: An IO error occurred: File exists (os error 17)', src/bin/ghee.rs:264:17 -note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace +Linked ./people/:state:id/FL/3 -> ./people/Janella +Linked ./people:id/3 -> ./people/Janella +Initialized ./people/Lilly +Linked ./people/:state:id/NM/4 -> ./people/Lilly +Linked ./people:id/4 -> ./people/Lilly +Initialized ./people/Darrel +Linked ./people/:state:id/MI/5 -> ./people/Darrel +Linked ./people:id/5 -> ./people/Darrel + ghee get -w state=CA -f name ./people ./people/Sandeep user.name Sandeep ./people/Wulfrum user.name Wulfrum +./people/:state:id/CA/0 user.name Wulfrum ./people/:state:id/CA/2 user.name Sandeep + ghee del -v ./people -w name=Sofia -thread 'main' panicked at 'Error deleting record from ./people: An IO error occurred: No such file or directory (os error 2)', src/bin/ghee.rs:278:17 -note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace +Removed ./people:id/1 +Removed ./people/Sofia +Removed ./people/:state:id/WA/1 + ghee del -v ./people:id 3 -thread 'main' panicked at 'Could not list xattrs on ./people:id/3: No such file or directory (os error 2)', src/lib.rs:220:29 -note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace +Removed ./people:id/3 +Removed ./people/Janella + ghee del -v ./people/:state:id CA 0 -thread 'main' panicked at 'Could not list xattrs on ./people/:state:id/CA/0: No such file or directory (os error 2)', src/lib.rs:220:29 -note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace +Removed ./people/Wulfrum +Removed ./people/:state:id/CA/0 + ghee get -w state=CA -f name ./people/:state:id ./people/:state:id/CA/2 user.name Sandeep + cd ..