MCPcopy
hub / github.com/django/django / listdir

Method listdir

django/core/files/storage/base.py:159–166  ·  view source on GitHub ↗

List the contents of the specified path. Return a 2-tuple of lists: the first item being directories, the second item being files.

(self, path)

Source from the content-addressed store, hash-verified

157 )
158
159 def listdir(self, path):
160 """
161 List the contents of the specified path. Return a 2-tuple of lists:
162 the first item being directories, the second item being files.
163 """
164 raise NotImplementedError(
165 "subclasses of Storage must provide a listdir() method"
166 )
167
168 def size(self, name):
169 """

Callers 9

clear_expiredMethod · 0.45
get_filesFunction · 0.45
handleMethod · 0.45
clear_dirMethod · 0.45
ask_initialMethod · 0.45
_get_locale_dirsFunction · 0.45
lang_statsFunction · 0.45
fetchFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected