code/cache

This commit is contained in:
Marc Beninca 2025-07-10 02:09:54 +02:00
parent 13ab4b8ec7
commit a17596b862
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -6,6 +6,10 @@
# │ code │ variables │
# ╰──────┴───────────╯
# main modules code cache
rwx_code_cache_main=""
# user modules code cache
rwx_code_cache_user=""
# main modules names
rwx_code_modules_main=""
# user modules names
@ -34,6 +38,26 @@ _rwx_code_functions=""
# cache for 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 │
# ╰──────┴──────╯