FileInfo

data class FileInfo(val fileSpec: FileSpec, val targetTestDir: Boolean)

Constructors

Link copied to clipboard
fun FileInfo(fileSpec: FileSpec, targetTestDir: Boolean)

Properties

Link copied to clipboard
val fileSpec: FileSpec

The KotlinPoet representation of the file.

Link copied to clipboard
val targetTestDir: Boolean

If true the file will be written to the test source set, otherwise it will be written to the main source set.