src: use offset calc. instead of `req->data` in node_file
A small refactor – this removes one layer of pointer indirection. (The performance gain is likely negligible, the main point here being that this encapsulates libuv request management a bit more.)
@bcoe Mostly doing this because of our conversation – it’s nicer if we make existing code rely less on what exactly data
points to :)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines