Skip to main content

Module fs

Module fs 

Source

Functionsยง

ensure_dirs
Create every directory in dirs, including parents.
write_file_if_missing
Write a file only when it does not already exist.
write_json_file
Write a pretty-printed JSON file with mode 0600 on Unix.
write_private_file
Write a private file with mode 0600 on Unix.