(file_path)
| 15 | |
| 16 | |
| 17 | def path_in_cache(file_path): |
| 18 | try: |
| 19 | os.makedirs(TEXTATTACK_CACHE_DIR) |
| 20 | except FileExistsError: # cache path exists |
| 21 | pass |
| 22 | return os.path.join(TEXTATTACK_CACHE_DIR, file_path) |
| 23 | |
| 24 | |
| 25 | def s3_url(uri): |
no outgoing calls
no test coverage detected