withResource

abstract fun withResource(relativePath: String, action: Action<in InputStream>)(source)

Perform an action on the contents of a remote resource.

Parameters

relativePath

path to the resource, relative to the base URI of the repository

action

action to execute on the resource