MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / CreateDirectory

Function CreateDirectory

BaseTools/Source/Python/Common/Misc.py:413–421  ·  view source on GitHub ↗
(Directory)

Source from the content-addressed store, hash-verified

411# @param Directory The directory name
412#
413def CreateDirectory(Directory):
414 if Directory is None or Directory.strip() == "":
415 return True
416 try:
417 if not os.access(Directory, os.F_OK):
418 os.makedirs(Directory)
419 except:
420 return False
421 return True
422
423## Remove directories, including files and sub-directories in it
424#

Callers 11

SaveFileOnChangeFunction · 0.70
CopyFileOnChangeFunction · 0.70
TrimPreprocessedFileFunction · 0.50
TrimPreprocessedVfrFunction · 0.50
TrimAslFileFunction · 0.50
_MakeDirFunction · 0.50
_ApplyBuildRuleMethod · 0.50
CacheCopyFileMethod · 0.50
CopyModuleToCacheMethod · 0.50
_GenPkgLevelHashMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected