file

open fun file(path: String): File(source)

Creates a file object for the given path, relative to getBaseDir.

The reporting base dir can be changed, so users of this method should use it on demand where appropriate.

Return

a file object at the given path relative to getBaseDir

Parameters

path

the relative path