DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUST
rust create directory if not exists
use std::fs; fn main() -> std::io::Result<()> { fs::create_dir_all("/some/dir")?; Ok(()) }
PREVIOUS
NEXT
Tagged:
#rust
#create
#directory
#exists
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit