tf.gfile.DeleteRecursively(dirname)

tf.gfile.DeleteRecursively(dirname)

Deletes everything under dirname recursively.

Args:

  • dirname: string, a path to a directory

Raises:

errors.OpError: If the operation fails.

Defined in tensorflow/python/lib/io/file_io.py.