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

Implement mount_at for all platforms #53

Merged
merged 2 commits into from
Apr 24, 2019
Merged

Conversation

fenhl
Copy link
Contributor

@fenhl fenhl commented Apr 23, 2019

Simply uses mounts and looks for the given path as a mount point in the result.

@valpackett
Copy link
Owner

This really should be the default implementation in the trait, like uptime and boot_time that are defined in terms of each other

https://github.com/myfreeweb/systemstat/blob/11230792edf4cda8fc12f17d304404710262ef0b/src/platform/common.rs#L35-L49

@fenhl fenhl changed the title Implement mount_at for macOS Implement mount_at for all platforms Apr 23, 2019
@valpackett valpackett merged commit d36e612 into valpackett:master Apr 24, 2019
@valpackett
Copy link
Owner

Thanks!!

@fenhl fenhl deleted the patch-1 branch April 24, 2019 18:20
@fenhl
Copy link
Contributor Author

fenhl commented Oct 7, 2019

Hey, any chance of getting a release with this?

@valpackett
Copy link
Owner

uploaded 0.1.5

valpackett pushed a commit that referenced this pull request Aug 21, 2022
valpackett pushed a commit that referenced this pull request Oct 2, 2022
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.

None yet

2 participants