1
0
mirror of https://github.com/HorlogeSkynet/SSHubl.git synced 2024-12-28 04:00:10 +01:00
SSHubl/sshubl/paths.py
Samuel FORESTIER 910411d8b8 Initial commit
Co-Authored-By: d3vyce <nicolas.sudres@hotmail.fr>
2024-07-06 21:15:28 +02:00

13 lines
306 B
Python

from pathlib import Path
import sublime
cache_path = Path(sublime.cache_path()) / "SSHubl"
cache_path.mkdir(parents=True, exist_ok=True)
sockets_path = cache_path / "sockets"
sockets_path.mkdir(mode=0o750, exist_ok=True)
mounts_path = cache_path / "mounts"
mounts_path.mkdir(mode=0o750, exist_ok=True)