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

Function check_save_location

python3_cron_scripts/get_sonar_data_unified.py:232–238  ·  view source on GitHub ↗

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

(location)

Source from the content-addressed store, hash-verified

230
231
232def check_save_location(location):
233 """
234 Check to see if the directory exists.
235 If the directory does not exist, it will automatically create it.
236 """
237 if not os.path.exists(location):
238 os.makedirs(location)
239
240
241def main(logger=None):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected