mirror of
https://github.com/denoland/deno.git
synced 2024-11-23 15:16:54 -05:00
6 lines
185 B
Rust
6 lines
185 B
Rust
// { "preopens": { "/scratch": "scratch" } }
|
|
|
|
fn main() {
|
|
assert!(std::fs::File::create("/scratch/file").is_ok());
|
|
assert!(std::fs::metadata("/scratch/file").unwrap().is_file());
|
|
}
|