markijohn

Results 2 comments of markijohn

For example : in directory /embed /embed/some_dir /embed/some_dir/myfile.data ```rust #[derive(RustEmbed)] #[folder = "embed/"] struct Asset; fn is_dir(path:&str) -> bool { Asset::is_dir("embed/some_dir") } ```

I am sorry for the late comment. This was arbitrarily modified a long time ago to the following, but I wanted to know if it could be done without 'iter()'...