MCPcopy Create free account
hub / github.com/GrayJack/coreutils / read_stream

Function read_stream

tail/src/main.rs:128–161  ·  view source on GitHub ↗

Read from a stream, truncated at a number of lines or bytes from the end, and write back to a stream

(
    flags: &Flags, mut reader: BufReader<R>, writer: &mut W, count: usize,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

tailFunction · 0.70
read_stream_lines_countFunction · 0.70
read_stream_bytes_countFunction · 0.70

Calls 1

newFunction · 0.85

Tested by 2

read_stream_lines_countFunction · 0.56
read_stream_bytes_countFunction · 0.56