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

TODO #1

Open
kojix2 opened this issue Oct 18, 2024 · 0 comments
Open

TODO #1

kojix2 opened this issue Oct 18, 2024 · 0 comments

Comments

@kojix2
Copy link
Owner

kojix2 commented Oct 18, 2024

Done Test N/A Description
[x] [ ] [ ] Consider the difference between file size and disk usage to accurately estimate disk usage.
[x] [x] [ ] Fix the issue of hard links being double-counted in disk usage calculations.
[x] [ ] [ ] Use std::os::linux instead of std::os::unix or explicitly document the reliance on POSIX-compliant features.
[ ] [ ] [x] Use the stat system call to retrieve relevant volume information, such as device ID and filesystem size.
[ ] [ ] [x] Evaluate alternatives to sysinfo for better compatibility with older Linux environments.
[x] [ ] [ ] Fix the get_volume_info function to ensure it returns the correct volume information for the specified path.
[x] [ ] [ ] Introduce an XML output library to avoid formatting errors and eliminate the need for a custom xml_escape implementation.
[ ] [ ] [ ] Test the behavior with symbolic links, hard links, and overlapping mount points.
[ ] [ ] [ ] Validate the format and content of the generated XML output.
[ ] [ ] [ ] Test the behavior of options when multiple device IDs are present.
[ ] [ ] [ ] Add unit tests to improve test coverage and ensure reproducibility.
[ ] [ ] [ ] Use mocks to ensure reproducibility in system-dependent tests.
[ ] [ ] [ ] Refactor the code to improve readability and increase resilience to future changes.
Repository owner locked and limited conversation to collaborators Oct 18, 2024
@kojix2 kojix2 pinned this issue Oct 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant