DirEntry class
Information about a directory entry returned from {@linkcode Deno.readDir} and {@linkcode Deno.readDirSync}.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDirectory ↔ bool
-
Available on DirEntry, provided by the DirEntry$Typings extension
True if this is info for a regular directory. Mutually exclusive toDirEntry.isFile
andDirEntry.isSymlink
.getter/setter pair - isFile ↔ bool
-
Available on DirEntry, provided by the DirEntry$Typings extension
True if this is info for a regular file. Mutually exclusive toDirEntry.isDirectory
andDirEntry.isSymlink
.getter/setter pair - isSymlink ↔ bool
-
Available on DirEntry, provided by the DirEntry$Typings extension
True if this is info for a symlink. Mutually exclusive toDirEntry.isFile
andDirEntry.isDirectory
.getter/setter pair - name ↔ String
-
Available on DirEntry, provided by the DirEntry$Typings extension
The file name of the entry. It is just the entity name and does not include the full path.getter/setter pair - 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