Finished
data class Finished(val lockFile: LockFile, val configFile: ConfigFile, val workingSubDir: String) : RuleContext
Rule context indicating that all other actions have been finished.
Functions
Link copied to clipboard
Creates a new file at the specified path& returns a result.
fun createFile(bytesCallback: suspend () -> <Error class: unknown class><ByteArray, ActionError>?, path: String, vararg subpath: String): RuleResult
Lazily creates a new file at the specified path if it does not already exist, and returns a result.
Link copied to clipboard
inline fun <T> createJsonFile(value: T, path: String, vararg subpath: String, format: <Error class: unknown class> = json): RuleResult
Creates a new JSON file at the specified path& returns a result.
Link copied to clipboard
Returns an error.
Link copied to clipboard
Ignores this rule context.
Link copied to clipboard
Link copied to clipboard