Author: rmottola
Date: Tue Feb 16 19:10:29 2016
New Revision: 39381

URL: http://svn.gna.org/viewcvs/gnustep?rev=39381&view=rev
Log:
delete custom getFileSystemInfoForPath

Modified:
    apps/gworkspace/trunk/FSNode/FSNodeRep.h
    apps/gworkspace/trunk/FSNode/FSNodeRep.m

Modified: apps/gworkspace/trunk/FSNode/FSNodeRep.h
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/FSNode/FSNodeRep.h?rev=39381&r1=39380&r2=39381&view=diff
==============================================================================
--- apps/gworkspace/trunk/FSNode/FSNodeRep.h    (original)
+++ apps/gworkspace/trunk/FSNode/FSNodeRep.h    Tue Feb 16 19:10:29 2016
@@ -511,14 +511,6 @@
 
 - (NSArray *)reservedMountNames;
 
-- (BOOL)getFileSystemInfoForPath:(NSString *)fullPath
-                                isRemovable:(BOOL *)removableFlag
-                                 isWritable:(BOOL *)writableFlag
-                              isUnmountable:(BOOL *)unmountableFlag
-                                description:(NSString **)description
-                                             type:(NSString **)fileSystemType
-                usingVolumesInfo:(NSArray *)info;
-
 @end
 
 #endif // FSNODE_REP_H

Modified: apps/gworkspace/trunk/FSNode/FSNodeRep.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/FSNode/FSNodeRep.m?rev=39381&r1=39380&r2=39381&view=diff
==============================================================================
--- apps/gworkspace/trunk/FSNode/FSNodeRep.m    (original)
+++ apps/gworkspace/trunk/FSNode/FSNodeRep.m    Tue Feb 16 19:10:29 2016
@@ -834,38 +834,6 @@
 }
 
 
-- (BOOL)getFileSystemInfoForPath:(NSString *)fullPath
-                                isRemovable:(BOOL *)removableFlag
-                                 isWritable:(BOOL *)writableFlag
-                              isUnmountable:(BOOL *)unmountableFlag
-                                description:(NSString **)description
-                                             type:(NSString **)fileSystemType
-                usingVolumesInfo:(NSArray *)info
-{
-  NSArray *mounted = ((info == nil) ? [self mountedVolumes] : info);
-  NSArray *removables = [self removableMediaPaths];
-  NSUInteger i;
-
-  for (i = 0; i < [mounted count]; i++) {
-    NSDictionary *dict = [mounted objectAtIndex: i];
-    NSString *mountPoint = [dict objectForKey: @"dir"];
-    NSString *fsType = [dict objectForKey: @"type"];
-  
-    if ([mountPoint isEqual: fullPath]) {  
-      *removableFlag = [removables containsObject: mountPoint];
-      *writableFlag = [[NSFileManager defaultManager] isWritableFileAtPath: 
fullPath];
-      *unmountableFlag = YES;
-      *description = fsType;
-      *fileSystemType = fsType;
-
-      return YES;
-    }
-  }
-  
-  return NO;
-}
-
-
 
 @end
 


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to