mirror of
https://github.com/denoland/deno.git
synced 2024-11-27 16:10:57 -05:00
5 lines
157 B
Rust
5 lines
157 B
Rust
// { "preopens": { "/scratch": "scratch" }, "files": { "scratch/file": "file" } }
|
|
|
|
fn main() {
|
|
assert!(std::fs::write("/scratch/file", b"file").is_ok())
|
|
}
|