diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2016-11-24 05:28:39 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-11-24 05:44:29 -0800 |
commit | 6705709bb02ff581d4c7f45a16eda143d5b2b7ab (patch) | |
tree | b1c35dd7fc19fd27945ffe67824ae27492f66f19 | |
parent | fb4f7b706169066af383e41f87e74c96f72cbb61 (diff) |
Documentation: defining how existing directories are handled by recursive_create_dir.
Change: 140127945
-rw-r--r-- | tensorflow/python/lib/io/file_io.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tensorflow/python/lib/io/file_io.py b/tensorflow/python/lib/io/file_io.py index 2653219c5a..d3b06188ea 100644 --- a/tensorflow/python/lib/io/file_io.py +++ b/tensorflow/python/lib/io/file_io.py @@ -287,7 +287,9 @@ def create_dir(dirname): def recursive_create_dir(dirname): - """Create a directory and all parent/intermediate directories. + """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 |