Skip to content
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

reorganize code and add an unit test #354

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

salvete
Copy link
Contributor

@salvete salvete commented Nov 19, 2024

What this PR does / why we need it:

Reorganize the code to make the structure clearer. And also add an unit test for the internal ErofsCache.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Please check the following list:

  • Does the affected code have corresponding tests, e.g. unit test, E2E test?
  • Does this change require a documentation update?
  • Does this introduce breaking changes that would require an announcement or bumping the major version?
  • Do all new files have an appropriate license header?

Reorganize the code to make the structure clearer. Specifically:

- erofs_common.*: contains some common content used internally
  by EROFS, such as I/O controllers and constants;

- liberofs.*: contains the content for creating EROFS filesystem
  images;

- erofs_fs.*: contains the content for building the EROFS filesystem
  from EROFS filesystem images and performing operations on the filesystem.

Signed-off-by: Hongzhen Luo <[email protected]>
Add an unit test for the internal ErofsCache.

Signed-off-by: Hongzhen Luo <[email protected]>
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.

1 participant