MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / read_file

Function read_file

src/view/debug/fs_view.rs:177–194  ·  view source on GitHub ↗

Read up to `MAX_PREVIEW` bytes of a file by walking its inode block pointers.

(vm: &VirtualMachine, base: u64, idx: u64, size: u64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

file_previewFunction · 0.85

Calls 3

inode_paFunction · 0.85
rd_u16Function · 0.85
peek_bytes_rawMethod · 0.45

Tested by

no test coverage detected