MCPcopy Create free account
hub / github.com/badoo/lsd / Read

Function Read

util/reader.go:22–49  ·  view source on GitHub ↗

Read starts to watch for category's files and stream their content to linesCh line by line it deletes fully sent files immediately (no confirm mechanics) @TODO implement some kind of confirm if error occurs, Read exits immediately, closing all background stuff read process can be cancelled by cancel

(ctx context.Context, category Category, linesCh chan []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

WatchFunction · 0.85
readFileFunction · 0.85

Tested by

no test coverage detected