MCPcopy Create free account
hub / github.com/saltstack/salt / run

Method run

salt/cli/cp.py:125–134  ·  view source on GitHub ↗

Make the salt client call

(self)

Source from the content-addressed store, hash-verified

123 return files
124
125 def run(self):
126 """
127 Make the salt client call
128 """
129 if self.opts["chunked"]:
130 ret = self.run_chunked()
131 else:
132 ret = self.run_oldstyle()
133
134 salt.output.display_output(ret, self.opts.get("output", "nested"), self.opts)
135
136 def run_oldstyle(self):
137 """

Callers 1

runMethod · 0.95

Calls 3

run_chunkedMethod · 0.95
run_oldstyleMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected