| 16 | ) |
| 17 | |
| 18 | type Platform struct { |
| 19 | Toolchain *Toolchain `toml:"toolchain"` |
| 20 | WindowsKit *WindowsKit `toml:"windows_kit"` |
| 21 | RootFS *RootFS `toml:"rootfs"` |
| 22 | |
| 23 | // Internal fields. |
| 24 | Name string `toml:"-"` |
| 25 | ctx context.Context `toml:"-"` |
| 26 | setupDone bool `toml:"-"` |
| 27 | } |
| 28 | |
| 29 | func (p *Platform) Init(platformName string) error { |
| 30 | // Check if platform name is empty. |
nothing calls this directly
no outgoing calls
no test coverage detected