You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2015/10/21 01:29:56 UTC

cordova-plugin-file git commit: CB-9331 getFreeDiskSpace iOS. Close #125 Close #138

Repository: cordova-plugin-file
Updated Branches:
  refs/heads/master 67c8edd0c -> 869bf1bc5


CB-9331 getFreeDiskSpace iOS. Close #125 Close #138


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/869bf1bc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/869bf1bc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/869bf1bc

Branch: refs/heads/master
Commit: 869bf1bc5edd343ac857dc794b6cd40173655024
Parents: 67c8edd
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Tue Oct 20 16:28:08 2015 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Tue Oct 20 16:28:08 2015 -0700

----------------------------------------------------------------------
 src/ios/CDVFile.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/869bf1bc/src/ios/CDVFile.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVFile.m b/src/ios/CDVFile.m
index 9b3bb38..3c7e9e3 100644
--- a/src/ios/CDVFile.m
+++ b/src/ios/CDVFile.m
@@ -1061,8 +1061,8 @@ NSString* const kCDVFilesystemURLPrefix = @"cdvfile";
 - (void)getFreeDiskSpace:(CDVInvokedUrlCommand*)command
 {
     // no arguments
-
-    NSNumber* pNumAvail = [self checkFreeDiskSpace:self.appDocsPath];
+    
+    NSNumber* pNumAvail = [self checkFreeDiskSpace:self.rootDocsPath];
 
     NSString* strFreeSpace = [NSString stringWithFormat:@"%qu", [pNumAvail unsignedLongLongValue]];
     // NSLog(@"Free space is %@", strFreeSpace );


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org