Module file

Module file 

Source

Enums§

FileCmdOutput
Raw filesystem / MIME classification result returned by exec_file_cmd.

Functions§

atomic_cp
Atomically copies a file from from to to.
chmod_x
Sets executable permissions (755) on the specified filepath.
chmod_x_files_in_dir
Sets executable permissions on all files in the specified directory.
cp_to_system_clipboard
Copies the given content to the system clipboard using the pbcopy command.
exec_file_cmd
Execute the system file -I command for path and classify the MIME output into a FileCmdOutput.
find_matching_recursively_in_dir
Recursively find files matching a predicate (breadth-first)
ln_sf
Creates a symbolic link from the target to the link path, removing any existing file at the link location.
ln_sf_files_in_dir
Creates symbolic links for all files in the target directory to the link directory.