segments

Splits the receiver File's path into its individual segments.

Receiver

File The file to process.

Return

A list of strings representing the segments of the file's path.