IsClean is the HEAD of the submodule is equals to the expected commit
()
| 364 | |
| 365 | // IsClean is the HEAD of the submodule is equals to the expected commit |
| 366 | func (s *SubmoduleStatus) IsClean() bool { |
| 367 | return s.Current == s.Expected |
| 368 | } |
| 369 | |
| 370 | // String is equivalent to `git submodule status <submodule>` |
| 371 | // |