This commit is contained in:
puke
2025-10-25 19:58:51 +08:00
committed by puke
parent 60918f69b1
commit 198094fe5f
25 changed files with 110 additions and 1218 deletions

View File

@@ -97,8 +97,8 @@ def get_data_path(*paths: str) -> str:
Absolute path to data directory or file
Example:
get_data_path("books", "book.json")
# Returns: "/path/to/project/data/books/book.json"
get_data_path("videos", "output.mp4")
# Returns: "/path/to/project/data/videos/output.mp4"
"""
data_path = get_root_path("data")
if paths: