aboutsummaryrefslogtreecommitdiff
path: root/network/protocol/v0v1/server/receivepack
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 03:50:31 +0000
committerGravatar Runxi Yu2026-03-29 03:50:31 +0000
commitb6d6d077d4b28c2dcc644baadcfbc35e44f37a32 (patch)
tree037b213ec371a33d19dd91ddb9d38676ef43eed6 /network/protocol/v0v1/server/receivepack
parentnetwork/protocol: Constructors get Life-Parent too (diff)
signatureNo signature
network: Fix labels
Diffstat (limited to 'network/protocol/v0v1/server/receivepack')
-rw-r--r--network/protocol/v0v1/server/receivepack/session.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/network/protocol/v0v1/server/receivepack/session.go b/network/protocol/v0v1/server/receivepack/session.go
index c367ed70..65fa6b36 100644
--- a/network/protocol/v0v1/server/receivepack/session.go
+++ b/network/protocol/v0v1/server/receivepack/session.go
@@ -10,6 +10,8 @@ import (
)
// Session is one stateful server-side receive-pack protocol session.
+//
+// Labels: MT-Unsafe.
type Session struct {
base *common.Session
supported Capabilities
@@ -171,7 +173,7 @@ func (session *Session) WriteProgress(p []byte) error {
//
// When side-band-64k was not negotiated, writes are discarded.
//
-// Labels: Life-Parent, Close-No.
+// Labels: Life-Parent.
func (session *Session) ProgressWriter() iowrap.WriteFlusher {
return session.base.ProgressWriter()
}
@@ -185,7 +187,7 @@ func (session *Session) WriteError(p []byte) error {
//
// When side-band-64k was not negotiated, writes are discarded.
//
-// Labels: Life-Parent, Close-No.
+// Labels: Life-Parent.
func (session *Session) ErrorWriter() iowrap.WriteFlusher {
return session.base.ErrorWriter()
}