Skip to content

Commit 9087269

Browse files
committed
chore: adjusted format after testing
1 parent 2476d8d commit 9087269

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lockfile/lockfile.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)