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


1.77.3 FilePath: accessing

at: aName

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).

group: aString

Set the group of the file identified by the receiver to be aString.

includes: aName

Answer whether a file named ‘aName’ exists in the directory represented by the receiver.

lastAccessTime

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

lastAccessTime: aDateTime

Update the last access time of the file corresponding to the receiver, to be aDateTime.

lastAccessTime: accessDateTime lastModifyTime: modifyDateTime

Update the timestamps of the file corresponding to the receiver, to be accessDateTime and modifyDateTime.

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).

lastModifyTime: aDateTime

Update the last modification timestamp of the file corresponding to the receiver, to be aDateTime.

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.

owner: aString

Set the owner of the file identified by the receiver to be aString.

owner: ownerString group: groupString

Set the owner and group of the file identified by the receiver to be aString.

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: FilePath   [Index]