RunPermissionDescriptor class
The permission descriptor for the allow-run
and deny-run
permissions, which controls
access to what sub-processes can be executed by Deno. The option command
allows scoping the permission to a specific executable.
Warning, in practice, allow-run
is effectively the same as allow-all
in the sense that malicious code could execute any arbitrary code on the
host.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
- RunPermissionDescriptor({String? name, Object? command})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited