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

Restructure to eliminate redundant code #11

Open
johnothwolo opened this issue Jan 3, 2024 · 1 comment
Open

Restructure to eliminate redundant code #11

johnothwolo opened this issue Jan 3, 2024 · 1 comment

Comments

@johnothwolo
Copy link

I've noticed that each tool has its own filesystem access code. Although Apple's HFS codebase does the same (that codebase is probably 2+ decades old), I do think a lot of the code can be reused and combined into the lib folder, like FreeBSD's libufs.

This will make it easier to addd other utilities to the codebase.

@eafer
Copy link
Member

eafer commented Jan 3, 2024

I'm sure you are right, the main purpose of these tools is testing so they are very hacky in many ways. It would be tricky to change things at this point though, so we'll see if I ever get to it.

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

No branches or pull requests

2 participants