lib/rush/entry.rb in rush-0.5.1 vs lib/rush/entry.rb in rush-0.6
- old
+ new
@@ -60,20 +60,20 @@
true
rescue Rush::DoesNotExist
false
end
- # Timestamp of entry creation.
- def created_at
+ # Timestamp of most recent change to the entry (permissions, contents, etc).
+ def changed_at
stat[:ctime]
end
- # Timestamp that entry was last modified on.
+ # Timestamp of last modification of the contents.
def last_modified
stat[:mtime]
end
- # Timestamp that entry was last accessed on.
+ # Timestamp that entry was last accessed (read from or written to).
def last_accessed
stat[:atime]
end
# Attempts to rename, copy, or otherwise place an entry into a dir that already contains an entry by that name will fail with this exception.