AbstractOperatingSystem.st
branchjv
changeset 19861 95c7068e30ba
parent 19691 5e613f6255d9
parent 19815 602abca225fb
child 19863 513bd7237fe7
--- a/AbstractOperatingSystem.st	Fri May 13 20:17:32 2016 +0200
+++ b/AbstractOperatingSystem.st	Sat May 14 09:34:43 2016 +0200
@@ -2705,13 +2705,23 @@
 caseSensitiveFilenames
     "return true, if the OS has caseSensitive file naming.
      On MSDOS, this will return false;
-     on a real OS, we return true."
+     on a real OS, we return true.
+     Be aware, that OSX can be configured to be either.
+     Also, that it actually depends on the mounted volume"
 
     "/ actually, this query is too general, as it may depend on the mounted volume;
     "/ so we need a query for a particular directory (and/or volume).
     self subclassResponsibility
 !
 
+caseSensitiveFilenamesIn:aFolderPath
+    "return true, if the OS has caseSensitive file naming inside a folderPath.
+     Be aware, that it actually depends on the mounted volume,
+     so some concrete subclass may redefine this query."
+
+    ^ self caseSensitiveFilenames
+!
+
 compressPath:pathName
     "return the pathName compressed - that is, remove all ..-entries
      and . entries. This does not always (in case of symbolic links)