mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
16 lines
305 B
Go
16 lines
305 B
Go
|
package structured
|
||
|
|
||
|
func (change Change) IsBeforeSensitive() bool {
|
||
|
if sensitive, ok := change.BeforeSensitive.(bool); ok {
|
||
|
return sensitive
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (change Change) IsAfterSensitive() bool {
|
||
|
if sensitive, ok := change.AfterSensitive.(bool); ok {
|
||
|
return sensitive
|
||
|
}
|
||
|
return false
|
||
|
}
|