Fast implementation of Git in pure Go codeberg.org/lindenii/furgit
git go
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

network/protocol/v0v1/server: Add contract labels

Runxi Yu 1d8a2c9c 5f0ec5fe

+10
+4
network/protocol/v0v1/server/receivepack/session.go
··· 168 168 // ProgressWriter returns one chunking writer for sideband progress output. 169 169 // 170 170 // When side-band-64k was not negotiated, writes are discarded. 171 + // 172 + // Labels: Life-Parent, Close-No. 171 173 func (session *Session) ProgressWriter() iowrap.WriteFlusher { 172 174 return session.base.ProgressWriter() 173 175 } ··· 180 182 // ErrorWriter returns one chunking writer for sideband error output. 181 183 // 182 184 // When side-band-64k was not negotiated, writes are discarded. 185 + // 186 + // Labels: Life-Parent, Close-No. 183 187 func (session *Session) ErrorWriter() iowrap.WriteFlusher { 184 188 return session.base.ErrorWriter() 185 189 }
+6
network/protocol/v0v1/server/session.go
··· 100 100 // ProgressWriter returns one chunking writer for sideband progress output. 101 101 // 102 102 // When side-band-64k was not negotiated, writes are discarded. 103 + // 104 + // Labels: Life-Parent, Close-No. 103 105 func (session *Session) ProgressWriter() iowrap.WriteFlusher { 104 106 if !session.useSideBand { 105 107 return iowrap.NopFlush(io.Discard) ··· 111 113 // ErrorWriter returns one chunking writer for sideband error output. 112 114 // 113 115 // When side-band-64k was not negotiated, writes are discarded. 116 + // 117 + // Labels: Life-Parent, Close-No. 114 118 func (session *Session) ErrorWriter() iowrap.WriteFlusher { 115 119 if !session.useSideBand { 116 120 return iowrap.NopFlush(io.Discard) ··· 123 127 // 124 128 // When side-band-64k is enabled, writes are chunked into band-1 sideband 125 129 // frames. Otherwise writes are chunked into direct pkt-line data frames. 130 + // 131 + // Labels: Life-Parent, Close-No. 126 132 func (session *Session) PrimaryDataWriter() iowrap.WriteFlusher { 127 133 if session.useSideBand { 128 134 return sideband64k.NewChunkWriter(session.sideband, sideband64k.BandData)