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

Method DoCopy

gui/targetProfileEditor.py:104–108  ·  view source on GitHub ↗
(self, entity, name)

Source from the content-addressed store, hash-verified

102 wx.PostEvent(self.mainFrame, GE.TargetProfileChanged(profileID=entity.ID))
103
104 def DoCopy(self, entity, name):
105 sTR = TargetProfile.getInstance()
106 copy = sTR.copyPattern(entity)
107 sTR.renamePattern(copy, name)
108 return copy
109
110 def DoDelete(self, entity):
111 sTR = TargetProfile.getInstance()

Callers

nothing calls this directly

Calls 3

getInstanceMethod · 0.45
copyPatternMethod · 0.45
renamePatternMethod · 0.45

Tested by

no test coverage detected