Skip to content

basalt / ai/src / FilePreview

Interface: FilePreview ​

Defined in: ai/src/make/types.ts:66

One file the build would write, with the change it would make.

Properties ​

action ​

> action: "create" | "overwrite"

Defined in: ai/src/make/types.ts:69

create = the file does not exist; overwrite = it exists and would be replaced.


diff ​

> diff: string

Defined in: ai/src/make/types.ts:71

Unified diff of the change (empty old side for a new file).


path ​

> path: string

Defined in: ai/src/make/types.ts:67

Released under the MIT License.