- Softwrap mode:
- Toggle
Blob of lib/mock_git_backend.rb
(raw blob data)
| 1 | class MockGitBackend |
| 2 | class << self |
| 3 | def create(repos_path) |
| 4 | true |
| 5 | end |
| 6 | |
| 7 | def delete!(repos_path) |
| 8 | true |
| 9 | end |
| 10 | |
| 11 | def repository_has_commits?(repos_path) |
| 12 | false |
| 13 | end |
| 14 | end |
| 15 | end |
