diff --git a/example-world.md b/example-world.md index 7805cf8..533ff39 100644 --- a/example-world.md +++ b/example-world.md @@ -754,16 +754,22 @@ with the filesystem. length in bytes of the pathname contained in the symbolic link.
  • -

    data-access-timestamp: datetime

    +

    data-access-timestamp: option<datetime>

    Last data access timestamp. +

    If the option is none, the platform doesn't maintain an access +timestamp for this file.

  • -

    data-modification-timestamp: datetime

    +

    data-modification-timestamp: option<datetime>

    Last data modification timestamp. +

    If the option is none, the platform doesn't maintain a +modification timestamp for this file.

  • -

    status-change-timestamp: datetime

    -

    Last file status change timestamp. +

    status-change-timestamp: option<datetime>

    +

    Last file status-change timestamp. +

    If the option is none, the platform doesn't maintain a +status-change timestamp for this file.

  • enum advice

    diff --git a/wit/types.wit b/wit/types.wit index 9b1412d..c7e817d 100644 --- a/wit/types.wit +++ b/wit/types.wit @@ -107,11 +107,20 @@ interface types { /// length in bytes of the pathname contained in the symbolic link. size: filesize, /// Last data access timestamp. - data-access-timestamp: datetime, + /// + /// If the `option` is none, the platform doesn't maintain an access + /// timestamp for this file. + data-access-timestamp: option, /// Last data modification timestamp. - data-modification-timestamp: datetime, - /// Last file status change timestamp. - status-change-timestamp: datetime, + /// + /// If the `option` is none, the platform doesn't maintain a + /// modification timestamp for this file. + data-modification-timestamp: option, + /// Last file status-change timestamp. + /// + /// If the `option` is none, the platform doesn't maintain a + /// status-change timestamp for this file. + status-change-timestamp: option, } /// Flags determining the method of how paths are resolved.