unix_disk_space 0.1.0

Dart native
Flutter Android iOS

Get free disk space info from df, Works on Unix-based systems.

example/unix_disk_space_example.dart

import 'package:unix_disk_space/unix_disk_space.dart';

void main() async {
  final disks = await diskSpace();
  print(disks);

  final fs = await diskSpace.fs('tmpfs');
  print(fs);

  final file = await diskSpace.file('/bin/bash');
  print(file);

  final wd = await diskSpace.file('.');
  print(wd);
}
1
likes
90
pub points
51%
popularity

Get free disk space info from df, Works on Unix-based systems.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

xty50337@gmail.com

License

MIT (LICENSE)

More

Packages that depend on unix_disk_space