mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
Merge branch 'master' of github.com:gulrak/filesystem
This commit is contained in:
commit
c428aba39d
@ -4258,6 +4258,7 @@ GHC_INLINE space_info space(const path& p, std::error_code& ec) noexcept
|
||||
}
|
||||
return {static_cast<uintmax_t>(sfs.f_blocks * sfs.f_frsize), static_cast<uintmax_t>(sfs.f_bfree * sfs.f_frsize), static_cast<uintmax_t>(sfs.f_bavail * sfs.f_frsize)};
|
||||
#else
|
||||
(void)p;
|
||||
ec = detail::make_error_code(detail::portable_error::not_supported);
|
||||
return {static_cast<uintmax_t>(-1), static_cast<uintmax_t>(-1), static_cast<uintmax_t>(-1)};
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user