(seconds)
| 1717 | try: |
| 1718 | entries = sorted(os.listdir(PROJECT_SAVE_SHARED_STORAGE_PATH), key=str.lower) |
| 1719 | except Exception: |
| 1720 | return extra_directories |
| 1721 | |
| 1722 | for entry in entries: |
| 1723 | if entry.startswith('.') or entry in PROJECT_SAVE_EXCLUDED_TOP_LEVEL_DIRS: |
| 1724 | continue |
| 1725 | |
| 1726 | full_path = os.path.join(PROJECT_SAVE_SHARED_STORAGE_PATH, entry) |
| 1727 | if not os.path.isdir(full_path): |
| 1728 | continue |
| 1729 | |
| 1730 | extra_directories.append(full_path) |
| 1731 | if len(extra_directories) >= max_count: |
| 1732 | break |
| 1733 | |
| 1734 | return extra_directories |
| 1735 | |
| 1736 | |
| 1737 | |
| 1738 | def _copy_project_archive_to_selected_folders(archive_path): |
| 1739 | for target_directory in _get_project_save_extra_copy_directories(): |
no outgoing calls
no test coverage detected