Macro rivia::assert_vfs_symlink
source · [−]macro_rules! assert_vfs_symlink {
($vfs:expr, $link:expr, $target:expr) => { ... };
}Expand description
Assert the creation of a symlink. If the symlink exists no change is made
Examples
use rivia::prelude::*;
let vfs = Vfs::memfs();
assert_vfs_no_symlink!(vfs, "foo");
assert_vfs_symlink!(vfs, "foo", "bar");
assert_vfs_is_symlink!(vfs, "foo");