From 8b545b65e34fc87326893e5e86f58facc2354b7e Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 16 Nov 2023 13:28:43 +0200 Subject: [PATCH] update locations --- README.md | 8 ++++---- {drivers/kevacoin => kevacoin}/get.php | 2 +- {drivers/kevacoin => kevacoin}/put.php | 0 3 files changed, 5 insertions(+), 5 deletions(-) rename {drivers/kevacoin => kevacoin}/get.php (96%) rename {drivers/kevacoin => kevacoin}/put.php (100%) diff --git a/README.md b/README.md index 7223663..c4abc84 100644 --- a/README.md +++ b/README.md @@ -11,10 +11,10 @@ CLI util to operate with large objects in small blocks size export FS object to blockchain namespace ``` -php driver/put.php processor filename [length] +php kevacoin/put.php processor filename [length] ``` -* `processor` - path to kevacoin-cli +* `processor` - path to `kevacoin-cli` * `filename` - file path to store in blockchain * `length` - optional split size, 3072 bytes [max](https://kevacoin.org/faq.html) @@ -23,9 +23,9 @@ php driver/put.php processor filename [length] import namespace to FS location ``` -php driver/get.php processor namespace [destination] +php kevacoin/get.php processor namespace [destination] ``` -* `processor` - path to kevacoin-cli +* `processor` - path to `kevacoin-cli` * `namespace` - hash received from the `put` command * `destination` - optional file system location, `data/import` by default \ No newline at end of file diff --git a/drivers/kevacoin/get.php b/kevacoin/get.php similarity index 96% rename from drivers/kevacoin/get.php rename to kevacoin/get.php index 9f1233e..b2f248d 100644 --- a/drivers/kevacoin/get.php +++ b/kevacoin/get.php @@ -68,7 +68,7 @@ ksort($data); // Save merged data to destination $filename = isset($argv[3]) ? $argv[3] : sprintf( - '%s/../../data/import/kevacoin.%s.%s', + '%s/../data/import/kevacoin.%s.%s', __DIR__, $argv[2], $names[array_key_first($names)] diff --git a/drivers/kevacoin/put.php b/kevacoin/put.php similarity index 100% rename from drivers/kevacoin/put.php rename to kevacoin/put.php