mirror of
https://github.com/denoland/deno.git
synced 2024-12-12 10:37:52 -05:00
6 lines
192 B
Rust
6 lines
192 B
Rust
// { "preopens": { "/scratch": "scratch" } }
|
|
|
|
fn main() {
|
|
assert!(std::fs::create_dir("/scratch/directory").is_ok());
|
|
assert!(std::fs::metadata("/scratch/directory").unwrap().is_dir());
|
|
}
|