MCPcopy Index your code
hub / github.com/cirosantilli/linux-kernel-module-cheat / timed_main

Method timed_main

common.py:1082–1091  ·  view source on GitHub ↗

Parse CLI, and to the build based on it. The actual build work is done by do_build in implementing classes.

(self)

Source from the content-addressed store, hash-verified

1080 return None
1081
1082 def timed_main(self):
1083 '''
1084 Parse CLI, and to the build based on it.
1085
1086 The actual build work is done by do_build in implementing classes.
1087 '''
1088 if self.env['clean']:
1089 return self.clean()
1090 else:
1091 return self.build()
1092
1093# from aenum import Enum # for the aenum version
1094TestResult = enum.Enum('TestResult', ['PASS', 'FAIL'])

Callers

nothing calls this directly

Calls 2

cleanMethod · 0.95
buildMethod · 0.95

Tested by

no test coverage detected