MCPcopy Index your code
hub / github.com/Cartucho/OpenLabeling / decrease_index

Function decrease_index

run.py:77–81  ·  view source on GitHub ↗
(current_index, last_index)

Source from the content-addressed store, hash-verified

75
76
77def decrease_index(current_index, last_index):
78 current_index -= 1
79 if current_index < 0:
80 current_index = last_index
81 return current_index
82
83
84def increase_index(current_index, last_index):

Callers 1

run.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected