musikr.fs: make volumeless paths relative

This commit is contained in:
Alexander Capehart
2026-01-11 21:26:45 -07:00
parent f87a31e878
commit 46a8f3d0c9
@@ -53,7 +53,7 @@ data class Path(val volume: Volume?, val components: Components) {
* @param context [Context] required to obtain human-readable strings.
*/
fun resolve(context: Context) =
volume?.let { "${volume.resolveName(context)}/$components" } ?: components.toString()
volume?.let { "${volume.resolveName(context)}/$components" } ?: "./$components"
}
sealed interface Volume {