MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / clearLogs

Function clearLogs

src/astroprint/api/settings.py:657–661  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

655@api.route("/settings/software/storage/logs", methods=['DELETE'])
656@restricted_access
657def clearLogs():
658 if softwareManager.clearLogs():
659 return jsonify()
660 else:
661 return ("There was an error trying to clear your logs.", 500)
662
663@api.route("/settings/software/storage/uploads", methods=['DELETE'])
664@restricted_access

Callers

nothing calls this directly

Calls 1

clearLogsMethod · 0.45

Tested by

no test coverage detected