Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document that filesystem timestamps can be 0. #124

Merged
merged 4 commits into from
Sep 13, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion wit/types.wit
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,20 @@ interface types {
/// length in bytes of the pathname contained in the symbolic link.
size: filesize,
/// Last data access timestamp.
///
/// A value of 0 indicates the platform doesn't maintain an access
/// timestamp for this file.
data-access-timestamp: datetime,
/// Last data modification timestamp.
///
/// A value of 0 indicates the platform doesn't maintain a
/// modification timestamp for this file.
data-modification-timestamp: datetime,
/// Last file status-change timestamp.
///
/// A value of 0 indicates the platform doesn't maintain a
/// status-change timestamp for this file.
data-modification-timestamp: datetime,
sunfishcode marked this conversation as resolved.
Show resolved Hide resolved
/// Last file status change timestamp.
status-change-timestamp: datetime,
}

Expand Down