create

fun WriteableRevFileRegistry.create(originalName: String, contentType: ContentType = ContentType.defaultForFilePath(originalName), content: () -> OutgoingContent.ReadChannelContent): RevisionedFile(source)

Creates a new custom RevisionedFile and adds it to this WriteableRevFileRegistry.

This is the most general function to create a revisioned file.