MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / debugfs_quote_absolute_path

Function debugfs_quote_absolute_path

crates/openshell-driver-vm/src/rootfs.rs:601–607  ·  view source on GitHub ↗
(path: &str)

Source from the content-addressed store, hash-verified

599}
600
601fn debugfs_quote_absolute_path(path: &str) -> Option<String> {
602 if path.is_empty() || !path.starts_with('/') {
603 return None;
604 }
605
606 debugfs_quote_argument(path)
607}
608
609fn debugfs_quote_argument(argument: &str) -> Option<String> {
610 if argument.is_empty() {

Callers 3

write_rootfs_image_fileFunction · 0.85

Calls 2

debugfs_quote_argumentFunction · 0.85
is_emptyMethod · 0.45

Tested by

no test coverage detected