AbstractOperatingSystem.st
changeset 19815 602abca225fb
parent 19674 22486296505c
child 19860 324edacff5cc
child 19861 95c7068e30ba
--- a/AbstractOperatingSystem.st	Fri May 13 10:01:03 2016 +0200
+++ b/AbstractOperatingSystem.st	Fri May 13 13:38:07 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)