summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJ2P <jjp5023@gmail.com>2018-09-15 23:04:46 +0900
committerRyan Dahl <ry@tinyclouds.org>2018-09-16 09:12:00 -0700
commit00404865395696fa38e544621ad67a9c2da2f455 (patch)
tree657cc0ac1c1f2a6204ef5e4b2d7b8b8899812e2b /js
parent0ef28bec4dbc7c5a44b066ac98fac0771375750f (diff)
Fix comments in stat.ts file
Diffstat (limited to 'js')
-rw-r--r--js/stat.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/stat.ts b/js/stat.ts
index 434841ec2..db8e684cb 100644
--- a/js/stat.ts
+++ b/js/stat.ts
@@ -86,7 +86,7 @@ export class FileInfo {
* be returned.
*
* import { lstat } from "deno";
- * const fileInfo = await deno.lstat("hello.txt");
+ * const fileInfo = await lstat("hello.txt");
* assert(fileInfo.isFile());
*/
export async function lstat(filename: string): Promise<FileInfo> {
@@ -99,7 +99,7 @@ export async function lstat(filename: string): Promise<FileInfo> {
* be returned.
*
* import { lstatSync } from "deno";
- * const fileInfo = deno.lstatSync("hello.txt");
+ * const fileInfo = lstatSync("hello.txt");
* assert(fileInfo.isFile());
*/
export function lstatSync(filename: string): FileInfo {
@@ -111,7 +111,7 @@ export function lstatSync(filename: string): FileInfo {
* `stat` Will always follow symlinks.
*
* import { stat } from "deno";
- * const fileInfo = await deno.stat("hello.txt");
+ * const fileInfo = await stat("hello.txt");
* assert(fileInfo.isFile());
*/
export async function stat(filename: string): Promise<FileInfo> {
@@ -123,7 +123,7 @@ export async function stat(filename: string): Promise<FileInfo> {
* `statSync` Will always follow symlinks.
*
* import { statSync } from "deno";
- * const fileInfo = deno.statSync("hello.txt");
+ * const fileInfo = statSync("hello.txt");
* assert(fileInfo.isFile());
*/
export function statSync(filename: string): FileInfo {