fs.tools¶
Miscellaneous tools for operating on filesystems.
-
fs.tools.
copy_file_data
(src_file, dst_file, chunk_size=None)¶ Copy data from one file object to another.
Parameters:
-
fs.tools.
get_intermediate_dirs
(fs, dir_path)¶ Get a list of non-existing intermediate directories.
Parameters: Returns: A list of non-existing paths.
Return type: Raises: fs.errors.DirectoryExpected
– If a path component references a file and not a directory.