toImmutable

abstract fun toImmutable(): PathSet

Returns an immutable PathSet copy of this MutablePathSet instance.

Return

A new PathSet copy of this object.