_cygpath
#
Functions#
|
A fallback implementation of cygpath --unix. |
|
|
|
|
|
|
|
|
|
|
|
|
|
A fallback implementation of cygpath --windows. |
|
|
|
|
|
|
|
|
|
Attributes#
- nt_to_posix(path: conda.common.path.PathType, prefix: conda.common.path.PathType | None, cygdrive: bool = False) str #
A fallback implementation of cygpath --unix.
- Parameters:
path -- The path to convert.
prefix -- The Windows style prefix directory to use for the conversion. If not provided, no checks for root paths will be made.
cygdrive -- Whether to use the Cygwin-style drive prefix.
- _get_RE_WIN_ROOT(prefix: str) re.Pattern #
- RE_WIN_MOUNT#
- RE_WIN_DRIVE#
- posix_to_nt(path: conda.common.path.PathType, prefix: conda.common.path.PathType | None, cygdrive: bool = False) str #
A fallback implementation of cygpath --windows.
- Parameters:
path -- The path to convert.
prefix -- The Windows style prefix directory to use for the conversion. If not provided, no checks for root paths will be made.
cygdrive -- Unused. Present to keep the signature consistent with nt_to_posix.
- RE_UNIX_DRIVE#
- RE_UNIX_MOUNT#
- RE_UNIX_ROOT#