MCPcopy Index your code
hub / github.com/tensorflow/tensorboard / remove_info_file

Function remove_info_file

tensorboard/manager.py:268–282  ·  view source on GitHub ↗

Remove the current process's TensorBoardInfo file, if it exists. If the file does not exist, no action is taken and no error is raised.

()

Source from the content-addressed store, hash-verified

266
267
268def remove_info_file():
269 """Remove the current process's TensorBoardInfo file, if it exists.
270
271 If the file does not exist, no action is taken and no error is
272 raised.
273 """
274 try:
275 os.unlink(_get_info_file_path())
276 except OSError as e:
277 if e.errno == errno.ENOENT:
278 # The user may have wiped their temporary directory or something.
279 # Not a problem: we're already in the state that we want to be in.
280 pass
281 else:
282 raise
283
284
285def get_all():

Callers

nothing calls this directly

Calls 1

_get_info_file_pathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…