summaryrefslogtreecommitdiff
path: root/cli/tsc/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
authorHirotaka Tagawa / wafuwafu13 <jaruwafu@gmail.com>2023-05-24 20:18:13 +0100
committerGitHub <noreply@github.com>2023-05-24 21:18:13 +0200
commit114ec3c1f71b40bd4bba473b0187e7c664ed1755 (patch)
tree7633e26d36133acf29b81de02418f7c7cfd2a847 /cli/tsc/dts/lib.deno.ns.d.ts
parent072e2b2fa236dd50040a210a425ff50ae39b0198 (diff)
feat(ext/fs): add isBlockDevice, isCharDevice, isFifo, isSocket to FileInfo (#19008)
`isFile`, `isDirectory`, `isSymlink` are defined in `Deno.FileInfo`, but `isBlockDevice`, `isCharacterDevice`, `isFIFO`, `isSocket` are not defined. --------- Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/tsc/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/tsc/dts/lib.deno.ns.d.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts
index 4d8c9293e..a7d6adab8 100644
--- a/cli/tsc/dts/lib.deno.ns.d.ts
+++ b/cli/tsc/dts/lib.deno.ns.d.ts
@@ -3122,6 +3122,22 @@ declare namespace Deno {
*
* _Linux/Mac OS only._ */
blocks: number | null;
+ /** True if this is info for a block device.
+ *
+ * _Linux/Mac OS only._ */
+ isBlockDevice: boolean | null;
+ /** True if this is info for a char device.
+ *
+ * _Linux/Mac OS only._ */
+ isCharDevice: boolean | null;
+ /** True if this is info for a fifo.
+ *
+ * _Linux/Mac OS only._ */
+ isFifo: boolean | null;
+ /** True if this is info for a socket.
+ *
+ * _Linux/Mac OS only._ */
+ isSocket: boolean | null;
}
/** Resolves to the absolute normalized path, with symbolic links resolved.