summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
authorColin Ihrig <cjihrig@gmail.com>2022-10-25 15:23:36 -0400
committerGitHub <noreply@github.com>2022-10-25 15:23:36 -0400
commit378e6a8c0369f3256cde8a595d3dbdfe4f1dc2f9 (patch)
tree2eef60849362e3c5f086dd20dbe02ab043032e57 /cli/dts/lib.deno.unstable.d.ts
parent8e3f825c921b38141afa7a69a0664881c5c94461 (diff)
feat: stabilize Deno.utime() and Deno.utimeSync() (#16421)
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r--cli/dts/lib.deno.unstable.d.ts44
1 files changed, 0 insertions, 44 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index 1b26cdd33..c687848ca 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -844,50 +844,6 @@ declare namespace Deno {
symbols: S,
): DynamicLibrary<S>;
- /** **UNSTABLE**: needs investigation into high precision time.
- *
- * Synchronously changes the access (`atime`) and modification (`mtime`) times
- * of a file system object referenced by `path`. Given times are either in
- * seconds (UNIX epoch time) or as `Date` objects.
- *
- * ```ts
- * Deno.utimeSync("myfile.txt", 1556495550, new Date());
- * ```
- *
- * Requires `allow-write` permission.
- * Needs investigation into high precision time.
- *
- * @tags allow-write
- * @category File System
- */
- export function utimeSync(
- path: string | URL,
- atime: number | Date,
- mtime: number | Date,
- ): void;
-
- /** **UNSTABLE**: New API, yet to be vetted.
- *
- * Changes the access (`atime`) and modification (`mtime`) times of a file
- * system object referenced by `path`. Given times are either in seconds
- * (UNIX epoch time) or as `Date` objects.
- *
- * ```ts
- * await Deno.utime("myfile.txt", 1556495550, new Date());
- * ```
- *
- * Requires `allow-write` permission.
- * Needs investigation into high precision time.
- *
- * @tags allow-write
- * @category File System
- */
- export function utime(
- path: string | URL,
- atime: number | Date,
- mtime: number | Date,
- ): Promise<void>;
-
/** **UNSTABLE**: New API, yet to be vetted.
*
* @category Sub Process