aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared_options.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-12-27 21:22:51 +0000
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-12-27 21:22:51 +0000
commitde04573438bc111f137359b8f4998780bf315275 (patch)
tree22711971699388d107adb7bafcda319fe445a7de /modules/shared_options.py
parentde03882d6ca56bc81058f5120f028678a6a54aaa (diff)
downloadstable-diffusion-webui-gfx803-de04573438bc111f137359b8f4998780bf315275.tar.gz
stable-diffusion-webui-gfx803-de04573438bc111f137359b8f4998780bf315275.tar.bz2
stable-diffusion-webui-gfx803-de04573438bc111f137359b8f4998780bf315275.zip
create utility truncate_path
utli.truncate_path(target_path, base_path) return the target_path relative to base_path if target_path is a sub path of base_path else return the absolute path
Diffstat (limited to 'modules/shared_options.py')
0 files changed, 0 insertions, 0 deletions