resolve
fun <R> StoreLocator.resolve(onFile: (producePath: () -> Path) -> R, onNamed: (name: String) -> R): R
Resolves this locator to a file path or web name for the current target.
fun <R> StoreLocator.resolve(usesFileStorage: Boolean, onFile: (producePath: () -> Path) -> R, onNamed: (name: String) -> R): R
Same as resolve with an explicit usesFileStorage override (tests / tooling).