Class: Git::StreamData
- Inherits:
-
Object
- Object
- Git::StreamData
- Defined in:
- lib/git/stream.rb
Overview
Represents a stream of data bytes in the git stream
Class Method Summary collapse
Class Method Details
.emit_empty_data ⇒ Object
155 156 157 |
# File 'lib/git/stream.rb', line 155 def self.emit_empty_data "data 0\n\n" end |
.emit_inline_data(data_string) ⇒ Object
151 152 153 |
# File 'lib/git/stream.rb', line 151 def self.emit_inline_data(data_string) "data #{data_string.length}\n#{data_string}\n" end |