UnixOperatingSystem.st
changeset 16678 125c0b557cb0
parent 16674 a3e9533f98c1
child 16696 f1b0bf0f46cc
equal deleted inserted replaced
16677:0f22d24efe9f 16678:125c0b557cb0
  5096      for other systems.
  5096      for other systems.
  5097      (but those are currently not supported - so this is some
  5097      (but those are currently not supported - so this is some
  5098       preparation for the future)"
  5098       preparation for the future)"
  5099 
  5099 
  5100     ^ '..'
  5100     ^ '..'
       
  5101 !
       
  5102 
       
  5103 pathNameForDrive:driveName
       
  5104     "given a drive name, return the pathname to open it as a directory.
       
  5105      For Windows, this is the driveName itself.
       
  5106      For OSX, '/Volumes' is prepended.
       
  5107      Other OSs might prepent the pount point (i.e. /mnt/)"
       
  5108 
       
  5109     ^ driveName
  5101 !
  5110 !
  5102 
  5111 
  5103 pathNameOf:pathName
  5112 pathNameOf:pathName
  5104     "return the pathName of the argument, aPathString,
  5113     "return the pathName of the argument, aPathString,
  5105      - thats the full pathname of the directory, starting at '/'.
  5114      - thats the full pathname of the directory, starting at '/'.
 13297 ! !
 13306 ! !
 13298 
 13307 
 13299 !UnixOperatingSystem class methodsFor:'documentation'!
 13308 !UnixOperatingSystem class methodsFor:'documentation'!
 13300 
 13309 
 13301 version
 13310 version
 13302     ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.376 2014-07-02 10:47:15 cg Exp $'
 13311     ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.377 2014-07-03 14:36:25 cg Exp $'
 13303 !
 13312 !
 13304 
 13313 
 13305 version_CVS
 13314 version_CVS
 13306     ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.376 2014-07-02 10:47:15 cg Exp $'
 13315     ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.377 2014-07-03 14:36:25 cg Exp $'
 13307 ! !
 13316 ! !
 13308 
 13317 
 13309 
 13318 
 13310 UnixOperatingSystem initialize!
 13319 UnixOperatingSystem initialize!
 13311 UnixOperatingSystem::FileDescriptorHandle initialize!
 13320 UnixOperatingSystem::FileDescriptorHandle initialize!