Skip to content
Open
Changes from all commits
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
7 changes: 5 additions & 2 deletions proposals/filesystem/wit-0.3.0-draft/types.wit
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,11 @@ interface types {

/// Unlink a filesystem object that is not a directory.
///
/// Return `error-code::is-directory` if the path refers to a directory.
/// Note: This is similar to `unlinkat(fd, path, 0)` in POSIX.
/// This is similar to `unlinkat(fd, path, 0)` in POSIX.
///
/// Error returns are as specified by POSIX, with the exception that any
/// `error-code::access` return is instead replaced with
/// `error-code::not-permitted`.
@since(version = 0.3.0-rc-2025-09-16)
unlink-file-at: async func(
/// The relative path to a file to unlink.
Expand Down