Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/freeslave/volumeinfo
Listing currently mounted volumes in D
https://github.com/freeslave/volumeinfo
d dlang mounted-disks
Last synced: about 1 month 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-10T21:08:07.000Z (over 2 years ago)
- Last Synced: 2023-08-01T22:17:09.709Z (over 1 year ago)
- Topics: d, dlang, mounted-disks
- Language: D
- Homepage:
- Size: 78.1 KB
- Stars: 0
- 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.
[![Build Status](https://github.com/FreeSlave/volumeinfo/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/FreeSlave/volumeinfo/actions/workflows/ci.yml)
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/FreeSlave/volumeinfo?branch=master&svg=true)](https://ci.appveyor.com/project/FreeSlave/volumeinfo)
[![Coverage Status](https://coveralls.io/repos/FreeSlave/volumeinfo/badge.svg?branch=master&service=github)](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