snapshot

fun snapshot(): Path

Returns an immutable Path representing the current state of this builder. The builder remains valid and can continue to be used.

Return

a new immutable Path