cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject [1/2] cordova-plugin-file git commit: CB-12355: (iOS) add desciption about the mimeTypeForFileAtPath method
Date Fri, 16 Jun 2017 13:42:36 GMT
Repository: cordova-plugin-file
Updated Branches:
  refs/heads/master f1858bc13 -> 1b558d9c0


CB-12355: (iOS) add desciption about the mimeTypeForFileAtPath method


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/1b558d9c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/1b558d9c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/1b558d9c

Branch: refs/heads/master
Commit: 1b558d9c06a7026a32b1c2e3c0bb2abe4d9ab9fb
Parents: 9c48d10
Author: Zam <love8879201@gmail.com>
Authored: Thu Jan 19 11:07:12 2017 +0800
Committer: Zam <love8879201@gmail.com>
Committed: Fri Jun 16 13:29:44 2017 +0800

----------------------------------------------------------------------
 src/ios/CDVLocalFilesystem.m | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/1b558d9c/src/ios/CDVLocalFilesystem.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVLocalFilesystem.m b/src/ios/CDVLocalFilesystem.m
index 7f20463..c340ce0 100644
--- a/src/ios/CDVLocalFilesystem.m
+++ b/src/ios/CDVLocalFilesystem.m
@@ -731,6 +731,7 @@
     callback(result);
 }
 
+// fix errors that base on Alexsander Akers from http://stackoverflow.com/a/5998683/2613194
 - (NSString*) mimeTypeForFileAtPath: (NSString *) path {
     if (![[NSFileManager defaultManager] fileExistsAtPath:path]) {
         return nil;


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


Mime
View raw message