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

Method mkd

tools/python-3.11.9-amd64/Lib/ftplib.py:635–642  ·  view source on GitHub ↗

Make a directory, return its full pathname.

(self, dirname)

Source from the content-addressed store, hash-verified

633 return int(s)
634
635 def mkd(self, dirname):
636 '''Make a directory, return its full pathname.'''
637 resp = self.voidcmd('MKD ' + dirname)
638 # fix around non-compliant implementations such as IIS shipped
639 # with Windows server 2003
640 if not resp.startswith('257'):
641 return ''
642 return parse257(resp)
643
644 def rmd(self, dirname):
645 '''Remove a directory.'''

Callers

nothing calls this directly

Calls 3

voidcmdMethod · 0.95
parse257Function · 0.85
startswithMethod · 0.80

Tested by

no test coverage detected