diff options
| author | 2026-03-29 03:46:47 +0000 | |
|---|---|---|
| committer | 2026-03-29 03:46:47 +0000 | |
| commit | 95e5a88404083597340fd76d9e83707f45103bf9 (patch) | |
| tree | 0d96476992496d8d679bda9db29baf708862554b /network/protocol | |
| parent | network/protocol: Deps-Borrowed where appropriate (diff) | |
| signature | No signature | |
network/protocol: Constructors get Life-Parent too
Diffstat (limited to 'network/protocol')
| -rw-r--r-- | network/protocol/pktline/chunk_writer.go | 2 | ||||
| -rw-r--r-- | network/protocol/pktline/decoder.go | 2 | ||||
| -rw-r--r-- | network/protocol/pktline/encoder.go | 2 | ||||
| -rw-r--r-- | network/protocol/sideband64k/chunk_writer.go | 2 | ||||
| -rw-r--r-- | network/protocol/sideband64k/decoder.go | 2 | ||||
| -rw-r--r-- | network/protocol/sideband64k/encoder.go | 2 | ||||
| -rw-r--r-- | network/protocol/v0v1/server/receivepack/session.go | 2 | ||||
| -rw-r--r-- | network/protocol/v0v1/server/session.go | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/network/protocol/pktline/chunk_writer.go b/network/protocol/pktline/chunk_writer.go index 5c637700..3c9d409a 100644 --- a/network/protocol/pktline/chunk_writer.go +++ b/network/protocol/pktline/chunk_writer.go @@ -10,7 +10,7 @@ type ChunkWriter struct { // NewChunkWriter creates a chunking adapter over enc. // -// Labels: Deps-Borrowed. +// Labels: Deps-Borrowed, Life-Parent. func NewChunkWriter(enc *Encoder) *ChunkWriter { return &ChunkWriter{enc: enc} } diff --git a/network/protocol/pktline/decoder.go b/network/protocol/pktline/decoder.go index 7492994e..15cab63d 100644 --- a/network/protocol/pktline/decoder.go +++ b/network/protocol/pktline/decoder.go @@ -29,7 +29,7 @@ type Decoder struct { // NewDecoder creates a decoder over r. // -// Labels: Deps-Borrowed. +// Labels: Deps-Borrowed, Life-Parent. func NewDecoder(r io.Reader, opts ReadOptions) *Decoder { return &Decoder{ r: r, diff --git a/network/protocol/pktline/encoder.go b/network/protocol/pktline/encoder.go index dac3293e..ab8bb823 100644 --- a/network/protocol/pktline/encoder.go +++ b/network/protocol/pktline/encoder.go @@ -17,7 +17,7 @@ type Encoder struct { // NewEncoder creates an encoder over w. // -// Labels: Deps-Borrowed. +// Labels: Deps-Borrowed, Life-Parent. func NewEncoder(w iowrap.WriteFlusher) *Encoder { return &Encoder{ w: w, diff --git a/network/protocol/sideband64k/chunk_writer.go b/network/protocol/sideband64k/chunk_writer.go index fb9d8060..a1a0ec8c 100644 --- a/network/protocol/sideband64k/chunk_writer.go +++ b/network/protocol/sideband64k/chunk_writer.go @@ -13,7 +13,7 @@ type ChunkWriter struct { // NewChunkWriter creates a chunking adapter over enc for one band. // -// Labels: Deps-Borrowed. +// Labels: Deps-Borrowed, Life-Parent. func NewChunkWriter(enc *Encoder, band Band) *ChunkWriter { return &ChunkWriter{enc: enc, band: band} } diff --git a/network/protocol/sideband64k/decoder.go b/network/protocol/sideband64k/decoder.go index d1549d98..6fc48cd8 100644 --- a/network/protocol/sideband64k/decoder.go +++ b/network/protocol/sideband64k/decoder.go @@ -29,7 +29,7 @@ type Decoder struct { // NewDecoder creates a decoder over r. // -// Labels: Deps-Borrowed. +// Labels: Deps-Borrowed, Life-Parent. func NewDecoder(r io.Reader, opts ReadOptions) *Decoder { d := &Decoder{ dec: pktline.NewDecoder(r, pktline.ReadOptions{}), diff --git a/network/protocol/sideband64k/encoder.go b/network/protocol/sideband64k/encoder.go index c29ad1bb..0c6ea090 100644 --- a/network/protocol/sideband64k/encoder.go +++ b/network/protocol/sideband64k/encoder.go @@ -17,7 +17,7 @@ type Encoder struct { // NewEncoder creates an encoder over w. // -// Labels: Deps-Borrowed. +// Labels: Deps-Borrowed, Life-Parent. func NewEncoder(w iowrap.WriteFlusher) *Encoder { return &Encoder{ enc: pktline.NewEncoder(w), diff --git a/network/protocol/v0v1/server/receivepack/session.go b/network/protocol/v0v1/server/receivepack/session.go index 259955ac..c367ed70 100644 --- a/network/protocol/v0v1/server/receivepack/session.go +++ b/network/protocol/v0v1/server/receivepack/session.go @@ -18,7 +18,7 @@ type Session struct { // NewSession creates one receive-pack session over one common server session. // -// Labels: Deps-Borrowed. +// Labels: Deps-Borrowed, Life-Parent. func NewSession(base *common.Session, supported Capabilities) *Session { return &Session{ base: base, diff --git a/network/protocol/v0v1/server/session.go b/network/protocol/v0v1/server/session.go index bdc2d785..5d00b373 100644 --- a/network/protocol/v0v1/server/session.go +++ b/network/protocol/v0v1/server/session.go @@ -28,7 +28,7 @@ type Session struct { // NewSession creates one v0/v1 server session over r and w. // -// Labels: Deps-Borrowed. +// Labels: Deps-Borrowed, Life-Parent. func NewSession(r io.Reader, w iowrap.WriteFlusher, opts Options) *Session { return &Session{ dec: pktline.NewDecoder(r, pktline.ReadOptions{}), |
