code: def get_dstack_dir() -> Path:
      return Path.joinpath(Path.home(), ".dstack")
  
file_path: dstack/src/dstack/_internal/utils/common.py
imports: import re
  import time
  from datetime import datetime, timedelta, timezone
  from pathlib import Path
  from typing import Optional, Tuple, Union
label_desc: Use image node_id 1 for calling a global function with example usage: get_dstack_dir() and returns: Path