(other WorkspaceAgentDevcontainer)
| 467 | } |
| 468 | |
| 469 | func (d WorkspaceAgentDevcontainer) Equals(other WorkspaceAgentDevcontainer) bool { |
| 470 | return d.ID == other.ID && |
| 471 | d.Name == other.Name && |
| 472 | d.WorkspaceFolder == other.WorkspaceFolder && |
| 473 | d.SubagentID == other.SubagentID && |
| 474 | d.Status == other.Status && |
| 475 | d.Dirty == other.Dirty && |
| 476 | (d.Container == nil && other.Container == nil || |
| 477 | (d.Container != nil && other.Container != nil && d.Container.ID == other.Container.ID)) && |
| 478 | (d.Agent == nil && other.Agent == nil || |
| 479 | (d.Agent != nil && other.Agent != nil && *d.Agent == *other.Agent)) && |
| 480 | d.Error == other.Error |
| 481 | } |
| 482 | |
| 483 | // IsTerraformDefined returns true if this devcontainer has resources defined |
| 484 | // in Terraform. |
no outgoing calls