https://bugs.documentfoundation.org/show_bug.cgi?id=60909

--- Comment #9 from Stephan Bergmann <sberg...@redhat.com> ---
In include/osl/file.hxx, there's already osl::Directory::getVolumeInfo and
osl::VolumeInfo::getFreeSpace.  While getVolumeInfo's ustrDirectoryURL
parameter is documented as "Full qualified URL of the volume", the statfs-based
implementation in sal/osl/unx/file_volume.cxx will apparently accept any path
into a mounted filesystem, and the Windows implementation in
sal/osl/w32/file_dirvol.cxx explicitly does some path_travel_to_volume_root, so
it should work in practice to pass an arbitrary path into a "volume", not just
a path to a "volume root".

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to