feat: add web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 14:03:50 +01:00 committed by Martin Wimpress
parent 8a198b0031
commit f007e06abe
1 changed files with 5 additions and 0 deletions

View File

@ -1444,6 +1444,11 @@ function check_hash() {
fi
}
function web_pipe() {
local URL="${1}"
curl --silent --location "${URL}"
}
function web_get() {
local DIR="${2}"
local FILE=""