uri

fun WriteableRevFileRegistry.uri(uri: URI, name: String = uri.toString().substringAfterLast('/'), contentType: ContentType = ContentType.defaultForFilePath(uri.path)): RevisionedFile(source)

Creates a new RevisionedFile from the given URI and adds it to this WriteableRevFileRegistry.