Module fs

Module fs 

Source
Expand description

Filesystem module.

Provides functions for filesystem operations with safety controls.

Functions§

exists
Check if a path exists.
list_dir
List directory contents.
mkdir
Create a directory.
read_file
Read a file’s contents.
remove
Remove a file or directory.
write_file
Write content to a file.