File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,16 @@ type TrackedFile struct {
3131 // Only populated if persistentEdits is enabled.
3232 PristineGitObject string `yaml:"pristine_git_object,omitempty"`
3333
34+ // Deleted indicates the user deleted this file from disk.
35+ // Set pre-generation by scanning disk vs lockfile entries.
36+ // When true, the generator should not regenerate this file.
37+ Deleted bool `yaml:"deleted,omitempty"`
38+
39+ // MovedTo indicates the user moved/renamed this file to a new path.
40+ // Set pre-generation by scanning @generated-id headers on disk.
41+ // The generator should write to the new path instead of the original.
42+ MovedTo string `yaml:"moved_to,omitempty"`
43+
3444 AdditionalProperties map [string ]any `yaml:",inline"`
3545}
3646
You can’t perform that action at this time.
0 commit comments