Skip to main content

exec_file_cmd_cached

Function exec_file_cmd_cached 

Source
fn exec_file_cmd_cached(path: &str) -> Result<FileCmdOutput>
Expand description

Cached wrapper around ytil_sys::file::exec_file_cmd that avoids spawning a file -I process for previously seen paths. Only successful results are cached.