harbor run -t openthoughts/tasktrove-exp-rpt-stack-pytest-large-stack-pytest-1374harbor download openthoughts/tasktrove-exp-rpt-stack-pytest-large-stack-pytest-1374Task: Implement the XDG directory resolution logic used by Mopidy
Goal Create a Python package at /app/mopidy (as a package, not a single file) that provides an internal module xdg with a function get_dirs(). The get_dirs() function must compute and return a mapping of XDG-related directories as pathlib.Path objects, honoring environment variables and a user-dirs.dirs file, in a way that matches the provided tests.
What to implement
Function signature:
Behavior and expected results:
Always return a dictionary of at least:
Values are pathlib.Path objects.
Defaults (when environment variables are not set):
Environment overrides (if set):
User dirs from file (optional):
Tests expectations alignment:
Acceptance criteria