File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
proposals/filesystem/wit-0.3.0-draft Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -595,9 +595,14 @@ interface types {
595595
596596 /// Unlink a filesystem object that is not a directory.
597597 ///
598- /// Return `error-code::is-directory` if the path refers to a directory.
599- /// Note: This is similar to `unlinkat(fd, path, 0)` in POSIX.
600- @since (version = 0.3.0-rc-2026-02-09 )
598+ /// This is similar to `unlinkat(fd, path, 0)` in POSIX.
599+ ///
600+ /// Error returns are as specified by POSIX.
601+ ///
602+ /// If the filesystem object is a directory, `error-code::access` or
603+ /// `error-code::is-directory` may be returned instead of the
604+ /// POSIX-specified `error-code::not-permitted` .
605+ @since (version = 0.3.0-rc-2025-02-09 )
601606 unlink-file-at : async func (
602607 /// The relative path to a file to unlink.
603608 path : string ,
You can’t perform that action at this time.
0 commit comments