code/cache
This commit is contained in:
parent
13ab4b8ec7
commit
a17596b862
1 changed files with 24 additions and 0 deletions
|
@ -6,6 +6,10 @@
|
||||||
# │ code │ variables │
|
# │ code │ variables │
|
||||||
# ╰──────┴───────────╯
|
# ╰──────┴───────────╯
|
||||||
|
|
||||||
|
# main modules code cache
|
||||||
|
rwx_code_cache_main=""
|
||||||
|
# user modules code cache
|
||||||
|
rwx_code_cache_user=""
|
||||||
# main modules names
|
# main modules names
|
||||||
rwx_code_modules_main=""
|
rwx_code_modules_main=""
|
||||||
# user modules names
|
# user modules names
|
||||||
|
@ -34,6 +38,26 @@ _rwx_code_functions=""
|
||||||
# cache for code variables
|
# cache for code variables
|
||||||
_rwx_code_variables=""
|
_rwx_code_variables=""
|
||||||
|
|
||||||
|
# ╭──────┬───────╮
|
||||||
|
# │ code │ cache │
|
||||||
|
# ╰──────┴───────╯
|
||||||
|
|
||||||
|
# output all cached code
|
||||||
|
rwx_code_cache() {
|
||||||
|
rwx_code_cache_main
|
||||||
|
rwx_code_cache_user
|
||||||
|
}
|
||||||
|
|
||||||
|
# output cached main code
|
||||||
|
rwx_code_cache_main() {
|
||||||
|
echo "${rwx_code_cache_main}"
|
||||||
|
}
|
||||||
|
|
||||||
|
# output cached user code
|
||||||
|
rwx_code_cache_user() {
|
||||||
|
echo "${rwx_code_cache_user}"
|
||||||
|
}
|
||||||
|
|
||||||
# ╭──────┬──────╮
|
# ╭──────┬──────╮
|
||||||
# │ code │ help │
|
# │ code │ help │
|
||||||
# ╰──────┴──────╯
|
# ╰──────┴──────╯
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue