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

Use fs::read_to_string conveniant func #391

Merged

Conversation

blackduckx
Copy link
Contributor

  • Fewer imports & no intermediate variable
  • Also fix some strange proc_stat variable names

* Fewer imports & no intermediate variable
* Also fix some strange proc_stat variable names
@JakeRoggenbuck
Copy link
Owner

Thanks!

@JakeRoggenbuck JakeRoggenbuck merged commit 86936e5 into JakeRoggenbuck:main Aug 14, 2022
@JakeRoggenbuck
Copy link
Owner

Good catch on the /proc/stat path. And definitely a cleaner way to read files to string, great work!

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