Return a list of the path components in this path.

The first item in the list will be a Path. Its value will be either os.curdir, os.pardir, empty, or the root directory of this path (for example, '/' or 'C:\\'). The other items in the list will be strings.

Path.joinpath(*result) will yield the original path.

>>> Path('/foo/bar/baz').splitall()
[Path('/'), 'foo', 'bar', 'baz']