langchain_community.tools.file_management.utils.is_relative_to¶

langchain_community.tools.file_management.utils.is_relative_to(path: Path, root: Path) bool[source]¶

Check if path is relative to root.

Parameters
  • path (Path) –

  • root (Path) –

Return type

bool