langchain_community.tools.file_management.utils.is_relative_to

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

检查路径是否相对于根目录。

Parameters
  • path (Path) –

  • root (Path) –

Return type

bool