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

Function _join

tools/python-3.11.9-amd64/Lib/glob.py:214–218  ·  view source on GitHub ↗
(dirname, basename)

Source from the content-addressed store, hash-verified

212 return stat.S_ISDIR(st.st_mode)
213
214def _join(dirname, basename):
215 # It is common if dirname or basename is empty
216 if not dirname or not basename:
217 return dirname or basename
218 return os.path.join(dirname, basename)
219
220magic_check = re.compile('([*?[])')
221magic_check_bytes = re.compile(b'([*?[])')

Callers 3

_iglobFunction · 0.70
_glob0Function · 0.70
_rlistdirFunction · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected