MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / copyFit

Method copyFit

service/fit.py:242–247  ·  view source on GitHub ↗
(fitID)

Source from the content-addressed store, hash-verified

240
241 @staticmethod
242 def copyFit(fitID):
243 pyfalog.debug("Creating copy of fit ID: {0}", fitID)
244 fit = eos.db.getFit(fitID)
245 newFit = copy.deepcopy(fit)
246 eos.db.save(newFit)
247 return newFit.ID
248
249 @staticmethod
250 def clearFit(fitID):

Callers

nothing calls this directly

Calls 2

getFitMethod · 0.80
saveMethod · 0.80

Tested by

no test coverage detected