file Attributes View
inline fun <V : FileAttributeView> Path.fileAttributesView(vararg options: LinkOption): V
Content copied to clipboard
Returns a file attributes view of a given type V or throws an UnsupportedOperationException if the requested attribute view type is not available..
The returned view allows to read and optionally to modify attributes of a file.
Since Kotlin
1.5
See also
Parameters
V
the reified type of the desired attribute view, a subtype of FileAttributeView.