gemseo / utils

Hide inherited members

portable_path module

A set of functions to handle OS dependent path operations.

gemseo.utils.portable_path.to_os_specific(path)[source]

Cast a path to PureWindowsPath on Windows platforms, PurePosixPath otherwise.

Parameters:

path (Path) – The path to cast.

Returns:

The cast path.

Return type:

PureWindowsPath | PurePosixPath