Creates a directory and all parent/intermediate directories. It succeeds if path already exists and is writable. Args: path: string, name of the directory to be created Raises: errors.OpError: If the operation fails.
(path)
| 440 | |
| 441 | @tf_export("io.gfile.makedirs") |
| 442 | def recursive_create_dir_v2(path): |
| 443 | """Creates a directory and all parent/intermediate directories. |
| 444 | |
| 445 | It succeeds if path already exists and is writable. |
| 446 | |
| 447 | Args: |
| 448 | path: string, name of the directory to be created |
| 449 | |
| 450 | Raises: |
| 451 | errors.OpError: If the operation fails. |
| 452 | """ |
| 453 | pywrap_tensorflow.RecursivelyCreateDir(compat.as_bytes(path)) |
| 454 | |
| 455 | |
| 456 | @tf_export(v1=["gfile.Copy"]) |
no test coverage detected