MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / list

Method list

src/Site/SiteStorage.py:302–304  ·  view source on GitHub ↗
(self, dir_inner_path)

Source from the content-addressed store, hash-verified

300
301 # list directories in a directory
302 def list(self, dir_inner_path):
303 directory = self.getPath(dir_inner_path)
304 return os.listdir(directory)
305
306 # Site content updated
307 def onUpdated(self, inner_path, file=None):

Callers 3

startMethod · 0.45
testListMethod · 0.45
all.jsFile · 0.45

Calls 1

getPathMethod · 0.95

Tested by

no test coverage detected