UnixFilename.st
branchjv
changeset 17734 406b1590afe8
parent 17711 39faaaf888b4
child 17735 6a5bc05f696a
equal deleted inserted replaced
17733:a5b3fd5ca84a 17734:406b1590afe8
   164 
   164 
   165 isHidden
   165 isHidden
   166     "return true, if the receiver represents a hidden file.
   166     "return true, if the receiver represents a hidden file.
   167      On UNIX, a name starting with a period is considered hidden."
   167      On UNIX, a name starting with a period is considered hidden."
   168 
   168 
   169     ^ self baseName startsWith:'.'
   169     |baseName|
       
   170 
       
   171     baseName := self baseName.
       
   172     ^ ((baseName startsWith:'.') and:[baseName ~= '..'])
   170 !
   173 !
   171 
   174 
   172 isImplicit
   175 isImplicit
   173     "return true, if the receiver represents builtin names such as '.' or '..'.
   176     "return true, if the receiver represents builtin names such as '.' or '..'.
   174      On UNIX, the current and parent dir names are considered implicit."
   177      On UNIX, the current and parent dir names are considered implicit."
   202 ! !
   205 ! !
   203 
   206 
   204 !UnixFilename class methodsFor:'documentation'!
   207 !UnixFilename class methodsFor:'documentation'!
   205 
   208 
   206 version
   209 version
   207     ^ '$Id: UnixFilename.st 10447 2009-06-14 13:09:55Z vranyj1 $'
   210     ^ '$Id: UnixFilename.st 10477 2009-11-05 14:41:30Z vranyj1 $'
   208 ! !
   211 !
       
   212 
       
   213 version_CVS
       
   214     ^ '$Id: UnixFilename.st 10477 2009-11-05 14:41:30Z vranyj1 $'
       
   215 ! !
       
   216