:py:mod:`test` ============== .. py:module:: conda.gateways.disk.test .. autoapi-nested-parse:: Disk utility functions testing path properties (e.g., writable, hardlinks, softlinks, etc.). Functions --------- .. autoapisummary:: conda.gateways.disk.test.file_path_is_writable conda.gateways.disk.test.paths_on_same_device conda.gateways.disk.test.hardlink_supported conda.gateways.disk.test.softlink_supported .. py:function:: file_path_is_writable(path) -> bool .. py:function:: paths_on_same_device(left: str | os.PathLike[str], right: str | os.PathLike[str]) -> bool Return whether two paths reside on the same filesystem device. .. py:function:: hardlink_supported(source_file, dest_dir) .. py:function:: softlink_supported(source_file, dest_dir)