From eacbc905796f89ad90197b0328692d8c500dbcf6 Mon Sep 17 00:00:00 2001 From: william Date: Tue, 24 Mar 2015 09:22:27 +0100 Subject: create FileSystemCapacity and put it in LuminaOS --- libLumina/LuminaOS-kFreeBSD.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libLumina/LuminaOS-kFreeBSD.cpp') diff --git a/libLumina/LuminaOS-kFreeBSD.cpp b/libLumina/LuminaOS-kFreeBSD.cpp index 16c8e6eb..b0c98abb 100644 --- a/libLumina/LuminaOS-kFreeBSD.cpp +++ b/libLumina/LuminaOS-kFreeBSD.cpp @@ -158,5 +158,10 @@ QStringList LOS::Checksums(QStringList filepaths){ //Return: checksum of the inp return QStringList(); } +//file system capacity +QString LOS::FileSystemCapacity(QString dir) { //Return: percentage capacity as give by the df command + return QString; +} + #endif #endif -- cgit From 58cc446a340fc9361b08372bad9c1ce9eaeaa19c Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 26 Mar 2015 15:40:44 -0400 Subject: Clean up the new filesystemusage functions a bit. Make sure that the directory is quoted within the command (could be spaces in the path). --- libLumina/LuminaOS-kFreeBSD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libLumina/LuminaOS-kFreeBSD.cpp') diff --git a/libLumina/LuminaOS-kFreeBSD.cpp b/libLumina/LuminaOS-kFreeBSD.cpp index b0c98abb..2b24ce51 100644 --- a/libLumina/LuminaOS-kFreeBSD.cpp +++ b/libLumina/LuminaOS-kFreeBSD.cpp @@ -160,7 +160,7 @@ QStringList LOS::Checksums(QStringList filepaths){ //Return: checksum of the inp //file system capacity QString LOS::FileSystemCapacity(QString dir) { //Return: percentage capacity as give by the df command - return QString; + return QString(); } #endif -- cgit