code: def root_dir() -> Path:
      """Return path to root directory."""
      return Path(__file__).parent.parent
  
file_path: nilearn/maint_tools/citation_cff_maint.py
imports: from __future__ import annotations
  from pathlib import Path
  from typing import Any
  import ruamel.yaml
label_desc: Use image node_id 1 for calling a global function with example usage: root_dir() and returns: Path