Sheaf · fuchsia · Fuchsia OS — fuchsia.io

Generated 2026-05-22 07:20 PDT · 212 elements · 248 findings

fuchsia.io/Directory.Unlink

METHOD fuchsia.io sdk/fidl/fuchsia.io/directory.fidl:552

Removes a child node from the this directory's list of entries. Note: this does not guarantee that the underlying object is destroyed. Although the link will be removed from the containing directory, objects with multiple references (such as files which are still open) will not actually be destroyed until all references are closed. * error `ZX_ERR_ACCESS_DENIED` if the connection does not have [`Rights.WRITE_BYTES`]. * error `ZX_ERR_NOT_SUPPORTED` if the underlying filesystem does not support writing. * error `ZX_ERR_BAD_PATH` if `name` is invalid. * error `ZX_ERR_NOT_EMPTY` if `name` refers to a non-empty directory. * error `ZX_ERR_UNAVAILABLE` if `name` refers to a mount point, containing a remote channel. * error `ZX_ERR_NOT_DIR` if the options requested a directory but something other than a directory was found. Other errors may be returned for filesystem-specific reasons. This method requires the following rights: * [`Rights.ENUMERATE`] * [`Rights.MODIFY_DIRECTORY`]

Relationships

Documentation (1)

Tests (0)

No test references.

Examples (0)

No example references.

Gaps

Missing categories:

Findings (2)

← back to elements