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

Method find

postscript.py:173–177  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

171 return sorted(list)
172
173 def find(self, path):
174 str_send = '{false statusdict /setfilenameextend get exec} stopped\n'\
175 '/str 256 string def (' + path + ') '\
176 '{print (\\n) print} str filenameforall'
177 return self.timeoutcmd(str_send, self.timeout * 2, False)
178
179 # ------------------------[ ls <path> ]-------------------------------
180 def do_ls(self, arg):

Callers 1

dirlistMethod · 0.95

Calls 1

timeoutcmdMethod · 0.80

Tested by

no test coverage detected