url

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

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