unsloth/studio/backend/utils/paths/__init__.py
Roland Tannous 47654cb91c Final cleanup
2026-03-12 18:28:04 +00:00

59 lines
1.4 KiB
Python

# SPDX-License-Identifier: AGPL-3.0-only
# Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
"""
Path utilities for model and dataset handling
"""
from .path_utils import normalize_path, is_local_path, is_model_cached, get_cache_path
from .storage_roots import (
studio_root,
assets_root,
datasets_root,
dataset_uploads_root,
recipe_datasets_root,
outputs_root,
exports_root,
auth_root,
auth_db_path,
tmp_root,
seed_uploads_root,
unstructured_seed_cache_root,
oxc_validator_tmp_root,
tensorboard_root,
ensure_dir,
ensure_studio_directories,
resolve_under_root,
resolve_output_dir,
resolve_export_dir,
resolve_tensorboard_dir,
resolve_dataset_path,
)
__all__ = [
"normalize_path",
"is_local_path",
"is_model_cached",
"get_cache_path",
"studio_root",
"assets_root",
"datasets_root",
"dataset_uploads_root",
"recipe_datasets_root",
"outputs_root",
"exports_root",
"auth_root",
"auth_db_path",
"tmp_root",
"seed_uploads_root",
"unstructured_seed_cache_root",
"oxc_validator_tmp_root",
"tensorboard_root",
"ensure_dir",
"ensure_studio_directories",
"resolve_under_root",
"resolve_output_dir",
"resolve_export_dir",
"resolve_tensorboard_dir",
"resolve_dataset_path",
]