Commit fe99c44
[release/7.0] Implement proper File System detection for Apple OSes (#74560)
* the assert should fail on macOS
* Don't use statfs on Apple systems, as for them it returns version-specific file system ids.
* move mapping to a separate method and reuse it
* minor improvement
Co-authored-by: Adam Sitnik <adam.sitnik@gmail.com>
Co-authored-by: Adam Sitnik <adam.sitnik@microsoft.com>1 parent 211930d commit fe99c44
File tree
2 files changed
+142
-130
lines changed- src
- libraries/Common/src/Interop/Unix/System.Native
- native/libs/System.Native
2 files changed
+142
-130
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
0 commit comments