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 noCross for darwin #109

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

inglor
Copy link
Contributor

@inglor inglor commented Dec 3, 2021

The output of /sbin/mount is pretty similar to FreeBSD one. Since its
very common to have spaces in paths we handle mount points with spaces
as well.

Fixes: #107

The output of `/sbin/mount` is pretty similar to FreeBSD one. Since its
very common to have spaces in paths we handle mount points with spaces
as well.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1534623471

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 96.257%

Totals Coverage Status
Change from base Build 1513051027: 0.0%
Covered Lines: 2186
Relevant Lines: 2271

💛 - Coveralls

@codecov
Copy link

codecov bot commented Dec 3, 2021

Codecov Report

Merging #109 (dee3807) into master (0538970) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #109   +/-   ##
=======================================
  Coverage   94.49%   94.49%           
=======================================
  Files          24       24           
  Lines        2234     2234           
=======================================
  Hits         2111     2111           
  Misses         85       85           
  Partials       38       38           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0538970...dee3807. Read the comment docs.

@dundee dundee merged commit 6c5fb9e into dundee:master Dec 3, 2021
@dundee
Copy link
Owner

dundee commented Dec 3, 2021

Very nice, thank you!

@inglor inglor deleted the feature/no-cross-for-darwin branch December 3, 2021 10:09
@inglor
Copy link
Contributor Author

inglor commented Dec 3, 2021

@dundee I think you might have a bug for mounted points with spaces on device_freebsd.go Check the regex if it works in there as well.

Also some duplicated code so probably some refactoring there would help (darwin and freebsd at least)

@dundee
Copy link
Owner

dundee commented Dec 3, 2021

@inglor You are right, I will fix that.

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.

-x missing for OSX
3 participants