From 7a93df9ab78c3d0823248d0fb051b0cc85edd85d Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 29 Mar 2026 03:39:18 +0000 Subject: network/protocol: Add more contract labels --- network/protocol/pktline/chunk_writer.go | 2 ++ network/protocol/pktline/encoder.go | 2 ++ 2 files changed, 4 insertions(+) (limited to 'network/protocol/pktline') diff --git a/network/protocol/pktline/chunk_writer.go b/network/protocol/pktline/chunk_writer.go index 3e1a8c36..5c637700 100644 --- a/network/protocol/pktline/chunk_writer.go +++ b/network/protocol/pktline/chunk_writer.go @@ -9,6 +9,8 @@ type ChunkWriter struct { } // NewChunkWriter creates a chunking adapter over enc. +// +// Labels: Deps-Borrowed. func NewChunkWriter(enc *Encoder) *ChunkWriter { return &ChunkWriter{enc: enc} } diff --git a/network/protocol/pktline/encoder.go b/network/protocol/pktline/encoder.go index 4c7dcd6e..dac3293e 100644 --- a/network/protocol/pktline/encoder.go +++ b/network/protocol/pktline/encoder.go @@ -16,6 +16,8 @@ type Encoder struct { } // NewEncoder creates an encoder over w. +// +// Labels: Deps-Borrowed. func NewEncoder(w iowrap.WriteFlusher) *Encoder { return &Encoder{ w: w, -- cgit v1.3.1-10-gc9f91