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