Macro rivia::assert_vfs_is_file
source · [−]macro_rules! assert_vfs_is_file {
($vfs:expr, $path:expr) => { ... };
}Expand description
Assert that the given path exists and is a file
Examples
use rivia::prelude::*;
let vfs = Vfs::memfs();
assert_vfs_no_file!(vfs, "foo");
assert_vfs_mkfile!(vfs, "foo");
assert_vfs_is_file!(vfs, "foo");