MCPcopy Create free account
hub / github.com/fastapi/fastapi / remove_all_removable

Function remove_all_removable

scripts/translate.py:336–341  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

334
335@app.command()
336def remove_all_removable() -> None:
337 all_removable = list_all_removable()
338 for removable_path in all_removable:
339 removable_path.unlink()
340 print(f"Removed: {removable_path}")
341 print("Done removing all removable paths")
342
343
344@app.command()

Callers

nothing calls this directly

Calls 1

list_all_removableFunction · 0.85

Tested by

no test coverage detected