FileInfo class

Provides information about a file and is returned by {@linkcode Deno.stat}, {@linkcode Deno.lstat}, {@linkcode Deno.statSync}, and {@linkcode Deno.lstatSync} or from calling stat() and statSync() on an {@linkcode Deno.FsFile} instance.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

FileInfo({bool? isFile, bool? isDirectory, bool? isSymlink, num? size, DateTime? mtime, DateTime? atime, DateTime? birthtime, num? dev, num? ino, num? mode, num? nlink, num? uid, num? gid, num? rdev, num? blksize, num? blocks, bool? isBlockDevice, bool? isCharDevice, bool? isFifo, bool? isSocket})
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