Documentation for the decorators module in the ddrescue tools package in the tools package (Tools/DDRescueTools/decorators.py)¶
Decorators for DDRescue tools
-
ddrescue_gui.Tools.DDRescueTools.decorators.define_versions(function)[source]¶ Reads the function docstring to find the ddrescue versions the function supports. This is used on all of the tools in the modules in the DDRescueTools package.
This information is saved in the function’s SUPPORTEDVERSIONS attribute.
- Args:
- function. The function object that we are creating the attribute
- for.