Skip to main content

try_dump_file

Function try_dump_file 

Source
pub fn try_dump_file(
    _path: &str,
    _name: &str,
    _file: &str,
    _test_only: bool,
) -> Option<(bool, bool)>
Expand description

Port of try_dump_file(char *path, char *name, char *file, int *ksh, int test_only) from Src/parse.c:3746. Tries to load a function from a .zwc in the given fpath directory. Returns (found, ksh_load) — stub: returns false until the dump-cache port (FuncDump) lands.