fuchsia.io/Directory.Link
METHOD
fuchsia.io
sdk/fidl/fuchsia.io/directory.fidl:519
Creates a link to an object named src by the name dst, within a directory represented by
token.
`src` must be a resolved object name. Including "/" in the string will
return `ZX_ERR_INVALID_ARGS`.
`dst` must be a resolved object name. Including "/" in the string will
return `ZX_ERR_INVALID_ARGS`.
This method requires following rights: `OpenFlags.RIGHT_WRITABLE` and
`OpenFlags.RIGHT_READABLE`, otherwise returns `ZX_ERR_BAD_HANDLE`.
This will be atomic with respect to renaming or unlinking the source concurrently e.g. if
there are two actors operating concurrently, and one actor performs a rename that affects
the source within this directory, and the other does a link, each will appear to occur
atomically in an unspecified order.
Relationships
-
ACCEPTS_TYPE→fuchsia.io/src -
ACCEPTS_TYPE→fuchsia.io/Name -
ACCEPTS_TYPE→fuchsia.io/dst_parent_token -
ACCEPTS_TYPE→fuchsia.io/zx -
ACCEPTS_TYPE→fuchsia.io/Handle -
ACCEPTS_TYPE→fuchsia.io/dst -
ACCEPTS_TYPE→fuchsia.io/Name -
RETURNS_TYPE→fuchsia.io/s -
RETURNS_TYPE→fuchsia.io/zx -
RETURNS_TYPE→fuchsia.io/Status
Documentation (1)
-
SUBSTANTIVE
sdk/fidl/fuchsia.io/directory.fidl:519↗
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"