Skip to content

GenFile

1 min read

Import: import system.codegen;

GenFile

A dream.toml additional_files entry.

public class GenFile

path

Request or resource path.

public path: string

contents

Text contents of the file.

public contents: string

constructor

Creates a file to emit at path with the given contents.

public constructor(path: string, contents: string)