Skip to content

chore(resource): remove unused KeyBif and Folder containers#6

Open
th3w1zard1 wants to merge 1 commit into
masterfrom
feat/remove-dead-containers
Open

chore(resource): remove unused KeyBif and Folder containers#6
th3w1zard1 wants to merge 1 commit into
masterfrom
feat/remove-dead-containers

Conversation

@th3w1zard1
Copy link
Copy Markdown
Collaborator

Summary

Remove dead KeyBifResourceContainer and FolderResourceContainer implementations. All engine/dataminer/toolkit resolution now goes through extract::Installation (PR #4/#5); these classes had zero remaining callers.

Still retained: ErfResourceContainer, RimResourceContainer, ExeResourceContainer, MemoryResourceContainer (e.g. save-load reads .sav via ERF).

Test plan

  • Retail menu smoke PASS (run_menu_smoke.sh)
  • Linux + Windows build + ctest
  • wasm-ci on self-hosted runner

Plan: docs/plans/2026-05-30-remove-dead-container-classes-plan.md

No callers remain after the Installation extract port; drop dead
IResourceContainer implementations and CMake entries.
Copilot AI review requested due to automatic review settings May 30, 2026 05:15
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes the now-dead KeyBifResourceContainer and FolderResourceContainer implementations from the resource library, reflecting the completed migration to extract::Installation-based resolution across the codebase.

Changes:

  • Delete KeyBifResourceContainer implementation and public header.
  • Delete FolderResourceContainer implementation and public header.
  • Remove the deleted headers/sources from src/libs/resource/CMakeLists.txt and add a short plan doc for the cleanup.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/libs/resource/container/keybif.cpp Removes the unused KEY/BIF container implementation.
src/libs/resource/container/folder.cpp Removes the unused filesystem-folder container implementation.
src/libs/resource/CMakeLists.txt Drops the removed headers/sources from the resource library build.
include/reone/resource/container/keybif.h Removes the unused public header for the KEY/BIF container.
include/reone/resource/container/folder.h Removes the unused public header for the folder container.
docs/plans/2026-05-30-remove-dead-container-classes-plan.md Documents the cleanup plan and verification checklist.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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