fuchsia.io/Directory.CreateSymlink
METHOD
fuchsia.io
sdk/fidl/fuchsia.io/directory.fidl:635
Creates a symbolic link.
`name` is the name to be given to the created symbolic link.
`target` is the target of the symbolic link, which has no meaning on the server. The server
will perform no validation of `target` except for a server chosen maximum length.
`connection` is an optional server end of a channel that will speak the Symlink protocol
on the successfully created node.
* [`Rights.MODIFY_DIRECTORY`]
* error `ZX_ERR_ALREADY_EXISTS` if `name` already exists.
* error `ZX_ERR_BAD_PATH` if `target` exceeds the server length limit for symbolic links.
* error `ZX_ERR_INVALID_ARGS` if `name` is not a valid [`Name`].
* error `ZX_ERR_NOT_SUPPORTED` if creating symbolic links is not supported by the server.
Relationships
-
ACCEPTS_TYPE→fuchsia.io/name -
ACCEPTS_TYPE→fuchsia.io/Name -
ACCEPTS_TYPE→fuchsia.io/target -
ACCEPTS_TYPE→fuchsia.io/SymlinkTarget -
ACCEPTS_TYPE→fuchsia.io/connection -
ACCEPTS_TYPE→fuchsia.io/Symlink -
ACCEPTS_TYPE→fuchsia.io/optional
Documentation (1)
-
SUBSTANTIVE
sdk/fidl/fuchsia.io/directory.fidl:635↗
Tests (0)
No test references.
Examples (0)
No example references.
Gaps
Missing categories:
- examples
- tests
Findings (2)
-
WARNING
DOCUMENTED_UNTESTEDelement is documented but has no test references -
WARNING
MISSING_IN_CATEGORYno references in category "tests.unit_tests"