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.
()
| 266 | |
| 267 | |
| 268 | def 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 | |
| 285 | def get_all(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…