Wasm Directoryalpha
Record

descriptor-stat

File attributes.

record descriptor-stat {
  type: descriptor-type,
  link-count: link-count,
  size: filesize,
  data-access-timestamp: option​<instant>,
  data-modification-timestamp: option​<instant>,
  status-change-timestamp: option​<instant>,
}

Fields

NameTypeDescription
typedescriptor-typeFile type.
link-countlink-countNumber of hard links to the file.
sizefilesizeFor regular files, the file size in bytes. For symbolic links, the length in bytes of the pathname contained in the symbolic link.
data-access-timestampoption​<instant>Last data access timestamp.
data-modification-timestampoption​<instant>Last data modification timestamp.
status-change-timestampoption​<instant>Last file status-change timestamp.