(message: string)
| 106 | } |
| 107 | |
| 108 | async createFileSnapshot(message: string): Promise<string> { |
| 109 | const repo = this.shadowGitRepository; |
| 110 | await repo.add('.'); |
| 111 | const commitResult = await repo.commit(message); |
| 112 | return commitResult.commit; |
| 113 | } |
| 114 | |
| 115 | async restoreProjectFromSnapshot(commitHash: string): Promise<void> { |
| 116 | const repo = this.shadowGitRepository; |
no test coverage detected