lib: banner purge + WHY-only comment sweep (rule 8)
Every // ---- section banner dies (132 -> 0): names carry the WHAT. Narration deleted (filename restatements, run-with lines, what-the- next-line-does); every ref/hare cite, task cite, divergence, ABI/ layout contract, and ownership qualifier kept (borrowed-view lines restored where the sweep over-cut). Comment-only proven: all 442 walk-workdir .s and 32 import-probe .s byte-identical before/after; libbyteid 56-roster all-ID.
This commit is contained in:
@@ -89,8 +89,7 @@ fn st_close(s: stream) (void | error) = {
|
||||
};
|
||||
};
|
||||
|
||||
// ref/hare/io/stream.ha:70-77. Clone of st_read's slot-dispatch shape
|
||||
// over the new `seeker` vtable slot.
|
||||
// ref/hare/io/stream.ha:70-77.
|
||||
fn st_seek(s: stream, off: off, w: whence) (off | error) = {
|
||||
match (s.seeker) {
|
||||
case void => {
|
||||
@@ -102,9 +101,8 @@ fn st_seek(s: stream, off: off, w: whence) (off | error) = {
|
||||
};
|
||||
};
|
||||
|
||||
// ref/hare/io/handle.ha:16-23. The handle-typed public read: the
|
||||
// file-arm routes to os.read (Q2 layering), the stream-arm delegates to
|
||||
// the unchanged st_read vtable dispatch above.
|
||||
// ref/hare/io/handle.ha:16-23. The file arm routes to os.read
|
||||
// directly (the Q2 layering ruling: os stays below io).
|
||||
export fn read(h: handle, buf: []u8) (size | eof | error) = {
|
||||
match (h) {
|
||||
case let fd: file => {
|
||||
|
||||
Reference in New Issue
Block a user