file

abstract fun file(path: String): ContentSource

Creates a ContentSource for the given relative path within this root.

Return

a ContentSource that can be used to read the file's content

Parameters

path

the relative path to the file