You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor file mapping cleanup in parse_logs function (#102)
Summary:
- Updated the cleanup logic in the `parse_logs` function to use `items()` for iterating over `file_mapping`, improving readability.
- Simplified the removal of duplicates from `regular_files` and the deletion of `mapped_file` when it is `None`.
These changes enhance code clarity and maintainability without altering the existing functionality.
Pull Request resolved: #102
Reviewed By: sfzhu93
Differential Revision: D82337211
Pulled By: FindHao
fbshipit-source-id: 9529de0962d8619717a36c4604cd0ae520cbf6aa
0 commit comments