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

Method DoCopy

gui/patternEditor.py:82–86  ·  view source on GitHub ↗
(self, entity, name)

Source from the content-addressed store, hash-verified

80 sDP.renamePattern(entity, name)
81
82 def DoCopy(self, entity, name):
83 sDP = DamagePattern.getInstance()
84 copy = sDP.copyPattern(entity)
85 sDP.renamePattern(copy, name)
86 return copy
87
88 def DoDelete(self, entity):
89 sDP = DamagePattern.getInstance()

Callers

nothing calls this directly

Calls 3

getInstanceMethod · 0.45
copyPatternMethod · 0.45
renamePatternMethod · 0.45

Tested by

no test coverage detected