[−][src]Module mdbook::utils::fs
Functions
copy_files_except_ext | Copies all files of a directory to another one except the files
with the extensions given in the |
create_file | This function creates a file and returns it. But before creating the file it checks every directory in the path to see if it exists, and if it does not it will be created. |
get_404_output_file | |
normalize_path | Naively replaces any path seperator with a forward-slash '/' |
path_to_root | Takes a path and returns a path containing just enough |
remove_dir_content | Removes all the content of a directory but not the directory itself |
write_file | Write the given data to a file, creating it first if necessary |