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

Function file_preview

src/view/debug/fs_view.rs:198–204  ·  view source on GitHub ↗

Read the previewable prefix of a file node's contents (for tests and the preview pane). Empty for a directory.

(vm: &VirtualMachine, sym: &FsSymbols, node: &FsNode)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

render_previewFunction · 0.85

Calls 2

rd_u64Function · 0.85
read_fileFunction · 0.85

Tested by 1