Whether the local repository is configured as shallow.
()
| 149 | |
| 150 | /** Whether the local repository is configured as shallow. */ |
| 151 | isShallowRepo(): boolean { |
| 152 | return this.run(['rev-parse', '--is-shallow-repository']).stdout.trim() === 'true'; |
| 153 | } |
| 154 | |
| 155 | /** Gets the currently checked out branch or revision. */ |
| 156 | getCurrentBranchOrRevision(): string { |
no test coverage detected