Expand description
Filesystem helpers that respect HostContext dry-run vs apply.
Functionsยง
- chmod
- Set Unix mode bits on
path(chmod). - copy_
dir_ contents - Recursively copy contents of
srcintodest(likecp -a src/. dest/). - copy_
file - Copy a single file from
srctodest, creating the dest parent as needed. - ensure_
dir - Ensure
pathexists as a directory (mkdir -p). - remove_
path - Remove a file, symlink, or directory tree at
path. - write_
file - Write
contenttopath, creating parent directories as needed.