feat(studio): add auth-specific paths and integrate auth database location
This commit is contained in:
parent
c2871fcff8
commit
f2b2b33769
3 changed files with 16 additions and 3 deletions
|
|
@ -32,6 +32,14 @@ def exports_root() -> Path:
|
|||
return studio_root() / "exports"
|
||||
|
||||
|
||||
def auth_root() -> Path:
|
||||
return studio_root() / "auth"
|
||||
|
||||
|
||||
def auth_db_path() -> Path:
|
||||
return auth_root() / "auth.db"
|
||||
|
||||
|
||||
def tmp_root() -> Path:
|
||||
return Path(tempfile.gettempdir()) / "unsloth-studio"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue