mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 20:00:07 +00:00
The --bounding-dirs flag and BoundingDirs field in deepcopy-gen are dead code. The field is stored on the genDeepCopy struct but never read by any method. The flag was introduced in gengo commit 14ae879 (2016) to control which types deepcopy would generate for and which nested types it could assume had generated deepcopy functions. Over time, as deepcopy-gen was rewritten (gengo v2, moved to code-generator), the copyableAndInBounds / isRootedUnder usage was dropped. The field and flag survived but g.boundingDirs is never referenced in the current code. hack/update-codegen.sh still passed --bounding-dirs but it had no effect.
34 KiB
Executable File
34 KiB
Executable File