MCPcopy Create free account
hub / github.com/asterinas/vostd / add_node

Function add_node

kernel/src/fs/device.rs:105–155  ·  view source on GitHub ↗

Add a device node to FS for the device. If the parent path is not existing, `mkdir -p` the parent path. This function is used in registering device.

(device: Arc<dyn Device>, path: &str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

initFunction · 0.85

Calls 7

newFunction · 0.85
new_fs_childMethod · 0.80
lookupMethod · 0.45
unwrapMethod · 0.45
is_emptyMethod · 0.45
mknodMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected