Skip to content

Commit

Permalink
compiled dbImportStream using go compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
fchastanet committed Aug 31, 2024
1 parent b2bbc60 commit f2874dd
Show file tree
Hide file tree
Showing 43 changed files with 2,082 additions and 2,383 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config-github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,6 @@ repos:
stages: [manual] # GITHUB

- repo: https://github.com/fchastanet/bash-compiler
rev: 0.3.1
rev: 0.3.2
hooks:
- id: buildBashBinaries
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,6 @@ repos:
stages: [] # GITHUB

- repo: https://github.com/fchastanet/bash-compiler
rev: 0.3.1
rev: 0.3.2
hooks:
- id: buildBashBinaries
8 changes: 4 additions & 4 deletions bin/dbImport
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ Env::pathPrepend() {
# @stderr diagnostics information is displayed
# shellcheck disable=SC2120
Env::requireLoad() {
REQUIRE_FUNCTION_ENV_REQUIRE_LOAD_LOADED=1
export REQUIRE_FUNCTION_ENV_REQUIRE_LOAD_LOADED=1

local -a defaultFiles=("$@")
# get list of possible config files
Expand Down Expand Up @@ -938,7 +938,7 @@ Linux::requireExecutedAsUser() {
# @exitcode 1 if realpath command not available
# @stderr diagnostics information is displayed
Linux::requireRealpathCommand() {
REQUIRE_FUNCTION_LINUX_REQUIRE_REALPATH_COMMAND_LOADED=1
export REQUIRE_FUNCTION_LINUX_REQUIRE_REALPATH_COMMAND_LOADED=1

Assert::commandExists realpath
}
Expand Down Expand Up @@ -1149,7 +1149,7 @@ Log::logWarning() {
# @exitcode 0 always successful
# @stderr diagnostics information about log file is displayed
Log::requireLoad() {
REQUIRE_FUNCTION_LOG_REQUIRE_LOAD_LOADED=1
export REQUIRE_FUNCTION_LOG_REQUIRE_LOAD_LOADED=1


if [[ "${REQUIRE_FUNCTION_ENV_REQUIRE_LOAD_LOADED:-0}" != 1 ]]; then
Expand Down Expand Up @@ -1239,7 +1239,7 @@ UI::drawLine() {
# @env LOAD_THEME int 0 to avoid loading theme
# @exitcode 0 always successful
UI::requireTheme() {
REQUIRE_FUNCTION_UI_REQUIRE_THEME_LOADED=1
export REQUIRE_FUNCTION_UI_REQUIRE_THEME_LOADED=1

if [[ "${LOAD_THEME:-1}" = "1" ]]; then
UI::theme "${BASH_FRAMEWORK_THEME-default}"
Expand Down
8 changes: 4 additions & 4 deletions bin/dbImportProfile
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ Env::pathPrepend() {
# @stderr diagnostics information is displayed
# shellcheck disable=SC2120
Env::requireLoad() {
REQUIRE_FUNCTION_ENV_REQUIRE_LOAD_LOADED=1
export REQUIRE_FUNCTION_ENV_REQUIRE_LOAD_LOADED=1

local -a defaultFiles=("$@")
# get list of possible config files
Expand Down Expand Up @@ -851,7 +851,7 @@ Linux::requireExecutedAsUser() {
# @exitcode 1 if realpath command not available
# @stderr diagnostics information is displayed
Linux::requireRealpathCommand() {
REQUIRE_FUNCTION_LINUX_REQUIRE_REALPATH_COMMAND_LOADED=1
export REQUIRE_FUNCTION_LINUX_REQUIRE_REALPATH_COMMAND_LOADED=1

Assert::commandExists realpath
}
Expand Down Expand Up @@ -1062,7 +1062,7 @@ Log::logWarning() {
# @exitcode 0 always successful
# @stderr diagnostics information about log file is displayed
Log::requireLoad() {
REQUIRE_FUNCTION_LOG_REQUIRE_LOAD_LOADED=1
export REQUIRE_FUNCTION_LOG_REQUIRE_LOAD_LOADED=1


if [[ "${REQUIRE_FUNCTION_ENV_REQUIRE_LOAD_LOADED:-0}" != 1 ]]; then
Expand Down Expand Up @@ -1152,7 +1152,7 @@ UI::drawLine() {
# @env LOAD_THEME int 0 to avoid loading theme
# @exitcode 0 always successful
UI::requireTheme() {
REQUIRE_FUNCTION_UI_REQUIRE_THEME_LOADED=1
export REQUIRE_FUNCTION_UI_REQUIRE_THEME_LOADED=1

if [[ "${LOAD_THEME:-1}" = "1" ]]; then
UI::theme "${BASH_FRAMEWORK_THEME-default}"
Expand Down
Loading

0 comments on commit f2874dd

Please sign in to comment.