uniquePaths

private fnstring[] uniquePaths(string[] paths)

Removes duplicate entries from a path array while preserving order.

Parameters

pathsArray of paths that may contain duplicates

Returns

Array with duplicates removed, preserving first occurrence order