Class: GitCompound::Repository::RepositoryRemote
- Inherits:
-
GitRepository
- Object
- GitRepository
- GitCompound::Repository::RepositoryRemote
- Defined in:
- lib/git_compound/repository/repository_remote.rb
Overview
Remote git repository implementation
Instance Method Summary collapse
Methods inherited from GitRepository
#branch?, #branches, #clone, #file_exists?, #files_contents, #initialize, #refs, #tags, #versions
Constructor Details
This class inherits a constructor from GitCompound::Repository::GitRepository
Instance Method Details
#file_contents(file, ref) ⇒ Object
6 7 8 9 |
# File 'lib/git_compound/repository/repository_remote.rb', line 6 def file_contents(file, ref) remote_file = RemoteFile.new(@source, ref, file) remote_file.contents end |