legendary/legendary
google-labs-jules[bot] cc641e77c7 Fix: Handle non-existent paths in case_insensitive_file_search
The `case_insensitive_file_search` function in `legendary/lfs/wine_helpers.py`
did not correctly handle cases where the parent directory of the provided path
does not exist. This could lead to the function returning an invalid path,
which could cause errors in other parts of the application.

This commit fixes the issue by adding a check to ensure the parent
directory exists before proceeding with the file search. If the parent
directory does not exist, the function will now return `None`.

A new test case has been added to verify this fix.
2025-11-01 12:58:50 +00:00
..
api [api] update graphql host (#713) 2025-10-03 04:29:35 +02:00
downloader [downloader] Avoid buffer copies in worker (#621) 2023-11-16 01:40:44 +01:00
lfs Fix: Handle non-existent paths in case_insensitive_file_search 2025-11-01 12:58:50 +00:00
models [core/models] Implement Sidecar config and epicdeploymentid parameter 2024-08-23 16:01:55 +02:00
utils [cli/core/utils] Fix webview login now requiring EGL UA 2023-12-08 14:37:42 +01:00
__init__.py Bump Version 2024-08-23 16:02:05 +02:00
cli.py [cli] Update Ubisoft game instructions (#591) 2024-08-23 15:13:25 +02:00
core.py [core/models] Implement Sidecar config and epicdeploymentid parameter 2024-08-23 16:01:55 +02:00