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
5 changes: 3 additions & 2 deletions wit-0.3.0-draft/types.wit
Original file line number Diff line number Diff line change
Expand Up @@ -487,11 +487,12 @@ interface types {
data-modification-timestamp: new-timestamp,
) -> result<_, error-code>;

/// Create a hard link.
/// Create a hard link between files.
///
/// Fails with `error-code::no-entry` if the old path does not exist,
/// with `error-code::exist` if the new path already exists, and
/// `error-code::not-permitted` if the old path is not a file.
/// `error-code::not-permitted` if the old path is a directory,
/// or if it is not a file.
///
/// Note: This is similar to `linkat` in POSIX.
@since(version = 0.3.0-rc-2025-09-16)
Expand Down