MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / push_dir

Method push_dir

cranelift/filetests/src/runner.rs:103–105  ·  view source on GitHub ↗

Add a directory path to be scanned later. If `dir` turns out to be a regular file, it is silently ignored. Otherwise, any problems reading the directory are reported.

(&mut self, dir: P)

Source from the content-addressed store, hash-verified

101 /// If `dir` turns out to be a regular file, it is silently ignored.
102 /// Otherwise, any problems reading the directory are reported.
103 pub fn push_dir<P: Into<PathBuf>>(&mut self, dir: P) {
104 self.dir_stack.push(dir.into());
105 }
106
107 /// Add a test to be executed later.
108 ///

Callers 3

runFunction · 0.45
run_passesFunction · 0.45
scan_dirsMethod · 0.45

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected