|
Class: FileStatusInfo (private in UnixOperatingSystem
This class is only visible from within
UnixOperatingSystem.
Object
|
+--UnixOperatingSystem::FileStatusInfo
- Package:
- stx:libbasic
- Category:
- OS-Unix
- Owner:
- UnixOperatingSystem
instance creation
-
type: t mode: m uid: u gid: g size: s id: i accessed: aT modified: mT statusChanged: sT sourcePath: sP targetPath: tP numLinks: nL
-
accessing
-
accessTime
-
return accessed
-
alternativeName
-
return the file's other name (DOS name on Windows).
Nil if there is no other name
-
creationTime
-
-
fileSize
-
return the file's size
-
gid
-
return gid
-
id
-
return id
-
linkTargetPath
-
for symbolic links only: return the path where the symbolic link points to.
This may be either an absolute or relative path relative to the base path.
-
mode
-
return mode
-
modificationTime
-
return modified
-
numLinks
-
return numLinks
-
path
-
for symbolic links only: return the path where the symbolic link points to.
This may be either an absolute or relative path relative to the base path.
-
sourcePath
-
-
statusChangeTime
-
lazy time conversion
-
type
-
return type
-
uid
-
return uid
accessing-vms
-
fixedHeaderSize
-
return the fixedHeaderSize (VMS only; nil everywhere else)
-
recordAttributes
-
return the recordAttributes (VMS only; nil everywhere else)
-
recordFormat
-
return the recordFormat (VMS only; nil everywhere else)
-
recordFormatNumeric
-
return the recordFormat as numeric (VMS only; nil everywhere else)
-
recordSize
-
return the recordSize (VMS only; nil everywhere else)
backward compatibility
-
accessed
-
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
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) **
-
modified
-
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
statusChanged
-
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
targetPath
-
use linkTargetPath
** This is an obsolete interface - do not use it (it may vanish in future versions) **
private-accessing
-
sourcePath: lP
-
-
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
-
isGroupExecutable
-
'/etc/passwd' asFilename info isGroupExecutable
-
isGroupReadable
-
'/etc/passwd' asFilename info isGroupReadable
-
isGroupWritable
-
'/etc/passwd' asFilename info isGroupWritable
-
isOwnerExecutable
-
'/etc/passwd' asFilename info isOwnerExecutable
-
isOwnerReadable
-
'/etc/passwd' asFilename info isOwnerReadable
-
isOwnerWritable
-
'/etc/passwd' asFilename info isOwnerWritable
-
isWorldExecutable
-
'/etc/passwd' asFilename info isWorldExecutable
-
isWorldReadable
-
'/etc/passwd' asFilename info isWorldReadable
-
isWorldWritable
-
'/etc/passwd' asFilename info isWorldWritable
queries-type
-
isBlockSpecial
-
-
isCharacterSpecial
-
-
isDirectory
-
-
isFifo
-
-
isRegular
-
-
isSocket
-
-
isSpecialFile
-
-
isSymbolicLink
-
-
isUnknown
-
-
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.
|