fuchsia.io/File.Clone
METHOD
fuchsia.io
sdk/fidl/fuchsia.io/node.fidl:321
Create another connection to the same remote object.
`flags` may be any of:
- `OpenFlags.RIGHT_*`
- `OpenFlags.APPEND`
- `OpenFlags.DESCRIBE`
- `OpenFlags.CLONE_SAME_RIGHTS`
All other flags are ignored.
The `OpenFlags.RIGHT_*` bits in `flags` request corresponding rights over the resulting
cloned object.
The cloned object must have rights less than or equal to the original object, otherwise
returns `ZX_ERR_ACCESS_DENIED`.
Alternatively, pass `OpenFlags.CLONE_SAME_RIGHTS` to inherit the rights on the source connection.
It is invalid to pass any of the `OpenFlags.RIGHT_*` flags together with
`OpenFlags.CLONE_SAME_RIGHTS`.
Relationships
-
INHERITED_FROM→fuchsia.io/Node.Clone
Documentation (0)
No documentation references.
Tests (0)
No test references.
Examples (0)
No example references.
Gaps
Missing categories:
- docs.reference
- examples
- tests
Findings (1)
-
WARNING
MISSING_IN_CATEGORYno references in category "tests.unit_tests"