summaryrefslogtreecommitdiff
path: root/std/node/_fs
diff options
context:
space:
mode:
authortokiedokie <thetokiedokie@gmail.com>2020-09-21 21:26:41 +0900
committerGitHub <noreply@github.com>2020-09-21 08:26:41 -0400
commitc4ed3fb7e767311dc5a6fc931fceaf4fdee885de (patch)
treef1f820de8f33d89adeda440f3a218052e5329c12 /std/node/_fs
parentdc6571909ba446fc732b2c6a48742eb4b9614513 (diff)
chore: add copyright (#7593)
Diffstat (limited to 'std/node/_fs')
-rw-r--r--std/node/_fs/_fs_access.ts1
-rw-r--r--std/node/_fs/_fs_chmod.ts1
-rw-r--r--std/node/_fs/_fs_chown.ts1
-rw-r--r--std/node/_fs/_fs_close.ts1
-rw-r--r--std/node/_fs/_fs_common.ts1
-rw-r--r--std/node/_fs/_fs_copy.ts1
-rw-r--r--std/node/_fs/_fs_dir.ts1
-rw-r--r--std/node/_fs/_fs_dir_test.ts1
-rw-r--r--std/node/_fs/_fs_dirent.ts1
-rw-r--r--std/node/_fs/_fs_dirent_test.ts1
-rw-r--r--std/node/_fs/_fs_link.ts1
-rw-r--r--std/node/_fs/_fs_readFile_test.ts1
-rw-r--r--std/node/_fs/_fs_readlink_test.ts1
-rw-r--r--std/node/_fs/promises/_fs_readFile_test.ts1
14 files changed, 7 insertions, 7 deletions
diff --git a/std/node/_fs/_fs_access.ts b/std/node/_fs/_fs_access.ts
index 8fb8cc7e6..f3fb1a010 100644
--- a/std/node/_fs/_fs_access.ts
+++ b/std/node/_fs/_fs_access.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import type { CallbackWithError } from "./_fs_common.ts";
import { notImplemented } from "../_utils.ts";
diff --git a/std/node/_fs/_fs_chmod.ts b/std/node/_fs/_fs_chmod.ts
index 9a8277b45..7b8d11b71 100644
--- a/std/node/_fs/_fs_chmod.ts
+++ b/std/node/_fs/_fs_chmod.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import type { CallbackWithError } from "./_fs_common.ts";
import { fromFileUrl } from "../path.ts";
diff --git a/std/node/_fs/_fs_chown.ts b/std/node/_fs/_fs_chown.ts
index ae3af0121..021b6498a 100644
--- a/std/node/_fs/_fs_chown.ts
+++ b/std/node/_fs/_fs_chown.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import type { CallbackWithError } from "./_fs_common.ts";
import { fromFileUrl } from "../path.ts";
diff --git a/std/node/_fs/_fs_close.ts b/std/node/_fs/_fs_close.ts
index add6f6663..1b5393db0 100644
--- a/std/node/_fs/_fs_close.ts
+++ b/std/node/_fs/_fs_close.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import type { CallbackWithError } from "./_fs_common.ts";
export function close(fd: number, callback: CallbackWithError): void {
diff --git a/std/node/_fs/_fs_common.ts b/std/node/_fs/_fs_common.ts
index ec0c2caef..fa1a52429 100644
--- a/std/node/_fs/_fs_common.ts
+++ b/std/node/_fs/_fs_common.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import { notImplemented } from "../_utils.ts";
export type CallbackWithError = (err?: Error | null) => void;
diff --git a/std/node/_fs/_fs_copy.ts b/std/node/_fs/_fs_copy.ts
index ba530a85c..21d05a7fe 100644
--- a/std/node/_fs/_fs_copy.ts
+++ b/std/node/_fs/_fs_copy.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import type { CallbackWithError } from "./_fs_common.ts";
import { fromFileUrl } from "../path.ts";
diff --git a/std/node/_fs/_fs_dir.ts b/std/node/_fs/_fs_dir.ts
index 20239d4f3..1fd7d60dd 100644
--- a/std/node/_fs/_fs_dir.ts
+++ b/std/node/_fs/_fs_dir.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import Dirent from "./_fs_dirent.ts";
import { assert } from "../../_util/assert.ts";
diff --git a/std/node/_fs/_fs_dir_test.ts b/std/node/_fs/_fs_dir_test.ts
index 4c2806389..522bd9bcd 100644
--- a/std/node/_fs/_fs_dir_test.ts
+++ b/std/node/_fs/_fs_dir_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, fail } from "../../testing/asserts.ts";
import Dir from "./_fs_dir.ts";
import type Dirent from "./_fs_dirent.ts";
diff --git a/std/node/_fs/_fs_dirent.ts b/std/node/_fs/_fs_dirent.ts
index 24e43145c..4a39c41fb 100644
--- a/std/node/_fs/_fs_dirent.ts
+++ b/std/node/_fs/_fs_dirent.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { notImplemented } from "../_utils.ts";
export default class Dirent {
diff --git a/std/node/_fs/_fs_dirent_test.ts b/std/node/_fs/_fs_dirent_test.ts
index aeb20f1d5..46d8b8d34 100644
--- a/std/node/_fs/_fs_dirent_test.ts
+++ b/std/node/_fs/_fs_dirent_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, assertThrows } from "../../testing/asserts.ts";
import Dirent from "./_fs_dirent.ts";
diff --git a/std/node/_fs/_fs_link.ts b/std/node/_fs/_fs_link.ts
index 42ca3de89..b5d8c399c 100644
--- a/std/node/_fs/_fs_link.ts
+++ b/std/node/_fs/_fs_link.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-
import type { CallbackWithError } from "./_fs_common.ts";
import { fromFileUrl } from "../path.ts";
diff --git a/std/node/_fs/_fs_readFile_test.ts b/std/node/_fs/_fs_readFile_test.ts
index 9ada80057..2ea7831d4 100644
--- a/std/node/_fs/_fs_readFile_test.ts
+++ b/std/node/_fs/_fs_readFile_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { readFile, readFileSync } from "./_fs_readFile.ts";
import * as path from "../../path/mod.ts";
import { assertEquals, assert } from "../../testing/asserts.ts";
diff --git a/std/node/_fs/_fs_readlink_test.ts b/std/node/_fs/_fs_readlink_test.ts
index 437873494..0b220caa4 100644
--- a/std/node/_fs/_fs_readlink_test.ts
+++ b/std/node/_fs/_fs_readlink_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { readlink, readlinkSync } from "./_fs_readlink.ts";
import { assertEquals, assert } from "../../testing/asserts.ts";
import * as path from "../path.ts";
diff --git a/std/node/_fs/promises/_fs_readFile_test.ts b/std/node/_fs/promises/_fs_readFile_test.ts
index 5414a3a09..53ef373e5 100644
--- a/std/node/_fs/promises/_fs_readFile_test.ts
+++ b/std/node/_fs/promises/_fs_readFile_test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { readFile } from "./_fs_readFile.ts";
import * as path from "../../../path/mod.ts";
import { assertEquals, assert } from "../../../testing/asserts.ts";