MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _is_dir

Function _is_dir

tools/python-3.11.9-amd64/Lib/zipimport.py:361–367  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

359
360# Does this path represent a directory?
361def _is_dir(self, path):
362 # See if this is a "directory". If so, it's eligible to be part
363 # of a namespace package. We test by seeing if the name, with an
364 # appended path separator, exists.
365 dirpath = path + path_sep
366 # If dirpath is present in self._files, we have a directory.
367 return dirpath in self._files
368
369# Return some information about a module.
370def _get_module_info(self, fullname):

Callers 2

find_loaderMethod · 0.85
find_specMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected