← back to roto on ba3a.dev

ScaffoldWriter

fun interface ScaffoldWriter

How ProjectScaffolder performs one file write: runs write, which creates file. A seam for tests.

Functions

Link copied to clipboard
abstract fun write(file: Path, write: () -> Unit)

Runs write, which writes file.