-
-
Notifications
You must be signed in to change notification settings - Fork 710
Check if app group container is readable #2434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
User description
This reimplements the changes in #2420 without the code suggestion (15038ea).
PR Type
Bug fix
Description
Replace directory existence check with readable file check
Simplify app group container validation logic
Use FileManager's isReadableFile method for better reliability
Diagram Walkthrough
File Walkthrough
RomDatabase.swift
Refactor app group container validation methodPVLibrary/Sources/PVLibrary/Database/Realm Database/RomDatabase.swift
fileExists(atPath:isDirectory:)check withisReadableFile(atPath:)methodObjCBoolvariable