zut.files.split
- zut.files.split(path: str | PathLike | Path) list[str]
A path split function that do not depend on the platform, is compatible with URLs, SMB shares and zipPath directory entries: - Keep leading slash(es): may be Linux root or SMB share - Keep trailing slash(es): may indicate a directory (necessary in ZipPath.at to designate a directory) - Keep URL separator ://