From b8a8b0e258772f02dbea6bb0dfe62191e223e793 Mon Sep 17 00:00:00 2001 From: Ben Ashton Date: Thu, 20 Oct 2022 21:49:09 -0600 Subject: [PATCH] Improved consistency of function names --- src/exprash.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/exprash.sh b/src/exprash.sh index 1dba318..9f3e204 100644 --- a/src/exprash.sh +++ b/src/exprash.sh @@ -160,29 +160,29 @@ function hasParam() { # $1: key # $2: (optional) index for accessing array parameters -function queryGet() { +function query() { _multiGet _exprashQuery "$1" "$2" } # $1: key -function queryHas() { +function hasQuery() { _multiHas _exprashQuery "$1" } # $1: key -function queryLen() { +function lenQuery() { _multiLen _exprashQuery "$1" } # $1: key # $2: (optional) index for accessing array parameters -function bodyGet() { +function body() { _multiGet _exprashBody "$1" "$2" } # $1: key -function bodyHas() { +function hasBody() { _multiHas _exprashBody "$1" } # $1: key -function bodyLen() { +function lenBody() { _multiLen _exprashBody "$1" }