ClaimedPaths

ClaimedPaths tracks generated files' Paths. Schema handlers who generate files are to claim each generated file's path. It is an error to generate different Types or Services to the same file and ClaimedPaths will throw when generation conflicts happen.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun claim(path: Path, service: Service)

Tracks that service has been generated to path.

fun claim(path: Path, type: Type)

Tracks that type has been generated to path.