MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / recursive_create_dir

Function recursive_create_dir

tensorflow/python/lib/io/file_io.py:427–438  ·  view source on GitHub ↗

Creates a directory and all parent/intermediate directories. It succeeds if dirname already exists and is writable. Args: dirname: string, name of the directory to be created Raises: errors.OpError: If the operation fails.

(dirname)

Source from the content-addressed store, hash-verified

425
426@tf_export(v1=["gfile.MakeDirs"])
427def recursive_create_dir(dirname):
428 """Creates a directory and all parent/intermediate directories.
429
430 It succeeds if dirname already exists and is writable.
431
432 Args:
433 dirname: string, name of the directory to be created
434
435 Raises:
436 errors.OpError: If the operation fails.
437 """
438 recursive_create_dir_v2(dirname)
439
440
441@tf_export("io.gfile.makedirs")

Callers

nothing calls this directly

Calls 1

recursive_create_dir_v2Function · 0.85

Tested by

no test coverage detected