summaryrefslogtreecommitdiffstats
path: root/src/utils/boot.py
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-02-07 10:16:06 +0100
committerJose M. Guisado <jguisado@soleta.eu>2023-02-08 17:11:44 +0100
commit7801d483d453dcc47b36429cc763fb5908c7a21b (patch)
tree04d3d80ad04bb75b56e20dbeae0c7c4f7af62bda /src/utils/boot.py
parenteac942660fde877a8594828e5784ba532dfc814e (diff)
utils: add init_cache function
init_cache() creates the default directory in which OpenGnsys stores images when using any cache enabled transfer method. As of this commit this folder must exist for tiptorrent.py to work properly. Subprocess Popen object inside tiptorrent.py use 'cwd' optional parameter like: cwd='/opt/opengnsys/cache/opt/opengnsys/images/' This folder convention might change in the future.
Diffstat (limited to 'src/utils/boot.py')
0 files changed, 0 insertions, 0 deletions