Next: , Previous: , Up: File   [Index]


1.75.7 File: accessing

asString

Answer the name of the file identified by the receiver

at: aString

Answer a File or Directory object as appropriate for a file named ’aName’ in the directory represented by the receiver.

creationTime

Answer the creation time of the file identified by the receiver. On some operating systems, this could actually be the last change time (the ‘last change time’ has to do with permissions, ownership and the like).

isDirectory

Answer whether the file is a directory.

isSocket

Answer whether the file is an AF_UNIX socket.

isSymbolicLink

Answer whether the file is a symbolic link.

lastAccessTime

Answer the last access time of the file identified by the receiver

lastChangeTime

Answer the last change time of the file identified by the receiver (the ‘last change time’ has to do with permissions, ownership and the like). On some operating systems, this could actually be the file creation time.

lastModifyTime

Answer the last modify time of the file identified by the receiver (the ‘last modify time’ has to do with the actual file contents).

mode

Answer the permission bits for the file identified by the receiver

mode: anInteger

Set the permission bits for the file identified by the receiver to be anInteger.

name

Answer the name of the file identified by the receiver

pathTo: destName

Compute the relative path from the receiver to destName.

refresh

Refresh the statistics for the receiver

size

Answer the size of the file identified by the receiver


Next: , Previous: , Up: File   [Index]