normalize

Removes all . and resolves all possible .. in this file name. For instance, File("/foo/./bar/gav/../baaz").normalize() is File("/foo/bar/baaz").

Since Kotlin

1.0

Return

normalized pathname with . and possibly .. removed.