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

Function delete_file_v2

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

Deletes the path located at 'path'. Args: path: string, a path Raises: errors.OpError: Propagates any errors reported by the FileSystem API. E.g., NotFoundError if the path does not exist.

(path)

Source from the content-addressed store, hash-verified

299
300@tf_export("io.gfile.remove")
301def delete_file_v2(path):
302 """Deletes the path located at 'path'.
303
304 Args:
305 path: string, a path
306
307 Raises:
308 errors.OpError: Propagates any errors reported by the FileSystem API. E.g.,
309 NotFoundError if the path does not exist.
310 """
311 pywrap_tensorflow.DeleteFile(compat.as_bytes(path))
312
313
314def read_file_to_string(filename, binary_mode=False):

Callers 1

delete_fileFunction · 0.85

Calls 1

DeleteFileMethod · 0.45

Tested by

no test coverage detected