MCPcopy
hub / github.com/RUB-NDS/PRET / append

Method append

pjl.py:262–273  ·  view source on GitHub ↗
(self, path, data)

Source from the content-addressed store, hash-verified

260
261 # ------------------------[ append <file> <string> ]------------------
262 def append(self, path, data):
263 lsize = len(data)
264 self.cmd(
265 "@PJL FSAPPEND FORMAT:BINARY SIZE="
266 + str(lsize)
267 + ' NAME="'
268 + path
269 + '"'
270 + c.EOL
271 + data,
272 False,
273 )
274
275 # ------------------------[ delete <file> ]---------------------------
276 def delete(self, arg):

Callers 8

do_nvramMethod · 0.45
do_appendMethod · 0.45
do_touchMethod · 0.45
complete_lfilesMethod · 0.45
fuzz_writeMethod · 0.45
idlistMethod · 0.45
snmpMethod · 0.45
getFilequeueListFunction · 0.45

Calls 1

cmdMethod · 0.95

Tested by 1

getFilequeueListFunction · 0.36