ref

fun ref(): Dir

Increment the reference count of dir.

Return

the same pointer as dir

Since

2.80