MCPcopy Create free account
hub / github.com/adobe/Marinus / check_save_location

Function check_save_location

python3_cron_scripts/get_owasp_amass.py:52–58  ·  view source on GitHub ↗

Check to see if the directory exists. If the directory does not exist, it will automatically create it.

(save_location)

Source from the content-addressed store, hash-verified

50
51
52def check_save_location(save_location):
53 """
54 Check to see if the directory exists.
55 If the directory does not exist, it will automatically create it.
56 """
57 if not os.path.exists(save_location):
58 os.makedirs(save_location)
59
60
61def main(logger=None):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected