getDefaultPath

fun getDefaultPath(osName: String = System.getProperty("os.name"), env: Map<String, String> = System.getenv(), userHome: String = System.getProperty("user.home")): Path

Resolves the default configuration path on disk for this operating system.

Return

the resolved Path to the configuration file on disk.

Parameters

osName

operating system name used for platform selection.

env

environment variables map.

userHome

current user's home directory path.