https://github.com/freeslave/volumeinfo
Listing currently mounted volumes in D
https://github.com/freeslave/volumeinfo
d dlang mounted-disks
Last synced: about 2 months ago
JSON representation
Listing currently mounted volumes in D
- Host: GitHub
- URL: https://github.com/freeslave/volumeinfo
- Owner: FreeSlave
- License: bsl-1.0
- Created: 2018-05-18T12:13:22.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-06-10T21:08:07.000Z (almost 4 years ago)
- Last Synced: 2025-01-22T14:45:45.071Z (over 1 year ago)
- Topics: d, dlang, mounted-disks
- Language: D
- Homepage:
- Size: 78.1 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE_1_0.txt
Awesome Lists containing this project
README
# Volumeinfo
D library for getting information about mounted volumes (partitions).
The information includes total and free size, filesystem type and display name.
Inspired by QStorageInfo from Qt.
[](https://github.com/FreeSlave/volumeinfo/actions/workflows/ci.yml)
[](https://ci.appveyor.com/project/FreeSlave/volumeinfo)
[](https://coveralls.io/github/FreeSlave/volumeinfo?branch=master)
[Online documentation](http://freeslave.github.io/volumeinfo/volumeinfo.html)
## Supported platforms
Windows, GNU/Linux and propably FreeBSD (code was written, but was not tested in its current form).
## [Example](examples/list.d)
Print mounted volumes:
dub examples/list.d
Print volumes where the provided paths reside:
dub examples/list.d "$HOME" /usr/share