eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'UnixOperatingSystem::FileStatusInfo':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: FileStatusInfo (private in UnixOperatingSystem

This class is only visible from within UnixOperatingSystem.

Inheritance:

   Object
   |
   +--UnixOperatingSystem::FileStatusInfo

Package:
stx:libbasic
Category:
OS-Unix
Owner:
UnixOperatingSystem

Class protocol:

instance creation
o  type: t mode: m uid: u gid: g size: s id: i accessed: aT modified: mT statusChanged: sT path: lP numLinks: nL

o  type: t mode: m uid: u gid: g size: s id: i accessed: aT modified: mT statusChanged: sT sourcePath: sP targetPath: tP numLinks: nL


Instance protocol:

accessing
o  accessTime
return accessed

o  alternativeName
return the file's other name (DOS name on Windows).
Nil if there is no other name

o  creationTime

o  fileSize
return the file's size

o  gid
return gid

o  id
return id

o  linkTargetPath
for symbolic links only: return the path where the symbolic link points to

o  mode
return mode

o  modificationTime
return modified

o  numLinks
return numLinks

o  path
for symbolic links only: return the path where the symbolic link points to

o  sourcePath

o  statusChangeTime
lazy time conversion

o  targetPath
use linkTargetPath

** This is an obsolete interface - do not use it (it may vanish in future versions) **

o  type
return type

o  uid
return uid

accessing-vms
o  fixedHeaderSize
return the fixedHeaderSize (VMS only; nil everywhere else)

o  recordAttributes
return the recordAttributes (VMS only; nil everywhere else)

o  recordFormat
return the recordFormat (VMS only; nil everywhere else)

o  recordFormatNumeric
return the recordFormat as numeric (VMS only; nil everywhere else)

o  recordSize
return the recordSize (VMS only; nil everywhere else)

backward compatibility
o  accessed

o  at: key
backward compatibility access: in previous releases, IdentityDictionaries
were used to hold my information. Allow access via key messages.
This method will vanish - use the proper access protocol.

** This is an obsolete interface - do not use it (it may vanish in future versions) **

o  modified

o  statusChanged

private-accessing
o  sourcePath: lP

o  type: t mode: m uid: u gid: g size: s id: i accessed: aT modified: mT statusChanged: sT path: lP numLinks: nL

o  type: t mode: m uid: u gid: g size: s id: i accessed: aT modified: mT statusChanged: sT sourcePath: sP targetPath: tP numLinks: nL

queries-access
o  isGroupExecutable
'/etc/passwd' asFilename info isGroupExecutable

o  isGroupReadable
'/etc/passwd' asFilename info isGroupReadable

o  isGroupWritable
'/etc/passwd' asFilename info isGroupWritable

o  isOwnerExecutable
'/etc/passwd' asFilename info isOwnerExecutable

o  isOwnerReadable
'/etc/passwd' asFilename info isOwnerReadable

o  isOwnerWritable
'/etc/passwd' asFilename info isOwnerWritable

o  isWorldExecutable
'/etc/passwd' asFilename info isWorldExecutable

o  isWorldReadable
'/etc/passwd' asFilename info isWorldReadable

o  isWorldWritable
'/etc/passwd' asFilename info isWorldWritable

queries-type
o  isBlockSpecial

o  isCharacterSpecial

o  isDirectory

o  isFifo

o  isRegular

o  isSocket

o  isSpecialFile

o  isSymbolicLink

o  isUnknown

o  isValid
true if this info contains valid status info, or only the name.
Under UNIX, the fileStatuInfo as returned from readDir ONLY contains the name of the file,
whereas under Windows, it contains the full info (incl. fileSize, access rights etc.).
The reason is that under windows, the ReadNextEntry system call does this, whereas the
the corresponding unix readdir only returns the name.



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 11 Aug 2022 11:51:54 GMT