MCPcopy Create free account
hub / github.com/apache/cloudstack / append

Method append

systemvm/debian/opt/cloud/bin/cs/CsFile.py:83–87  ·  view source on GitHub ↗
(self, string, where=-1)

Source from the content-addressed store, hash-verified

81 self.search(token, string)
82
83 def append(self, string, where=-1):
84 if where == -1:
85 self.new_config.append("%s\n" % string)
86 else:
87 self.new_config.insert(where, "%s\n" % string)
88
89 def add(self, string, where=-1):
90 for index, line in enumerate(self.new_config):

Callers 15

configure_ipsecMethod · 0.95
processMethod · 0.95
_generate_file_listFunction · 0.45
format_helpMethod · 0.45
cleanup_resourcesMethod · 0.45
create_networkMethod · 0.45
executeMethod · 0.45
__addToCleanUpMethod · 0.45
createPrimaryStoragesMethod · 0.45

Calls

no outgoing calls

Tested by 15

cleanup_resourcesMethod · 0.36
create_networkMethod · 0.36
testToSqlWithDaoMethod · 0.36
describeMethod · 0.36
genConfigMethod · 0.36
toStringMethod · 0.36
setUpClassMethod · 0.36
setUpClassMethod · 0.36
setUpClassMethod · 0.36