Skip to content

FileSystem: clean-up the ffind wrapper - #177

Open
VladimirUmek wants to merge 2 commits into
fs_optimizefrom
fs_ffind_cleanup
Open

FileSystem: clean-up the ffind wrapper#177
VladimirUmek wants to merge 2 commits into
fs_optimizefrom
fs_ffind_cleanup

Conversation

@VladimirUmek

Copy link
Copy Markdown
Collaborator
  • moves search path/pattern processing and comparison to corresponding EFS/FAT module

- moves search path/pattern processing and comparison to corresponding EFS/FAT module

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Input validation now returns incorrect statuses for empty or directory-only patterns.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Moves ffind pattern processing into FAT/EFS implementations.

Changes:

  • Delegates matching to filesystem-specific modules.
  • Adds EFS/FAT wildcard filtering.
  • Updates the EFS internal signature and stub.
File summaries
File Description
fs_mapi.c Simplifies dispatch logic.
fs_fat.c Adds FAT-side pattern matching.
fs_efs.c Adds EFS-side pattern matching.
fs_core_lib.h Updates the EFS declaration.
fs_config.c Updates the disabled-EFS stub.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Components/FileSystem/Source/fs_mapi.c

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The backend refactor consistently preserves the existing matching logic while aligning validation and interfaces.

Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants