mutapath.MutaPath.splitdrive

MutaPath.splitdrive()[source]

Return two-tuple of .drive and rest without drive.

Split the drive specifier from this path. If there is no drive specifier, p.drive is empty, so the return value is simply (Path(''), p). This is always the case on Unix.