summaryrefslogtreecommitdiff
path: root/std/fs
diff options
context:
space:
mode:
Diffstat (limited to 'std/fs')
-rw-r--r--std/fs/copy.ts2
-rw-r--r--std/fs/copy_test.ts2
-rw-r--r--std/fs/empty_dir.ts2
-rw-r--r--std/fs/empty_dir_test.ts2
-rw-r--r--std/fs/ensure_dir.ts2
-rw-r--r--std/fs/ensure_dir_test.ts2
-rw-r--r--std/fs/ensure_file.ts2
-rw-r--r--std/fs/ensure_file_test.ts2
-rw-r--r--std/fs/ensure_link.ts2
-rw-r--r--std/fs/ensure_link_test.ts2
-rw-r--r--std/fs/ensure_symlink.ts2
-rw-r--r--std/fs/ensure_symlink_test.ts2
-rw-r--r--std/fs/eol.ts2
-rw-r--r--std/fs/eol_test.ts2
-rw-r--r--std/fs/exists.ts2
-rw-r--r--std/fs/exists_test.ts2
-rw-r--r--std/fs/mod.ts2
-rw-r--r--std/fs/move.ts2
-rw-r--r--std/fs/move_test.ts2
-rw-r--r--std/fs/read_file_str.ts2
-rw-r--r--std/fs/read_json.ts2
-rw-r--r--std/fs/read_json_test.ts2
-rw-r--r--std/fs/write_file_str.ts2
-rw-r--r--std/fs/write_json.ts2
-rw-r--r--std/fs/write_json_test.ts2
25 files changed, 25 insertions, 25 deletions
diff --git a/std/fs/copy.ts b/std/fs/copy.ts
index 783597882..44d3a51e2 100644
--- a/std/fs/copy.ts
+++ b/std/fs/copy.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import * as path from "../path/mod.ts";
import { ensureDir, ensureDirSync } from "./ensure_dir.ts";
import { isSubdir, getFileInfoType } from "./utils.ts";
diff --git a/std/fs/copy_test.ts b/std/fs/copy_test.ts
index da84e252c..8134eb1d8 100644
--- a/std/fs/copy_test.ts
+++ b/std/fs/copy_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { test } from "../testing/mod.ts";
import {
assertEquals,
diff --git a/std/fs/empty_dir.ts b/std/fs/empty_dir.ts
index ded02b7e4..a838de3b8 100644
--- a/std/fs/empty_dir.ts
+++ b/std/fs/empty_dir.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { join } from "../path/mod.ts";
const {
readDir,
diff --git a/std/fs/empty_dir_test.ts b/std/fs/empty_dir_test.ts
index d25461ce3..55fdb52dc 100644
--- a/std/fs/empty_dir_test.ts
+++ b/std/fs/empty_dir_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { test } from "../testing/mod.ts";
import {
assertEquals,
diff --git a/std/fs/ensure_dir.ts b/std/fs/ensure_dir.ts
index de0cba333..92db873b3 100644
--- a/std/fs/ensure_dir.ts
+++ b/std/fs/ensure_dir.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { getFileInfoType } from "./utils.ts";
const { lstat, lstatSync, mkdir, mkdirSync, ErrorKind } = Deno;
diff --git a/std/fs/ensure_dir_test.ts b/std/fs/ensure_dir_test.ts
index c0a06749b..998b74e2d 100644
--- a/std/fs/ensure_dir_test.ts
+++ b/std/fs/ensure_dir_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { test } from "../testing/mod.ts";
import { assertThrows, assertThrowsAsync } from "../testing/asserts.ts";
import * as path from "../path/mod.ts";
diff --git a/std/fs/ensure_file.ts b/std/fs/ensure_file.ts
index e46d7b5f9..06c65b5f7 100644
--- a/std/fs/ensure_file.ts
+++ b/std/fs/ensure_file.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import * as path from "../path/mod.ts";
import { ensureDir, ensureDirSync } from "./ensure_dir.ts";
import { getFileInfoType } from "./utils.ts";
diff --git a/std/fs/ensure_file_test.ts b/std/fs/ensure_file_test.ts
index efd88d983..855ad4f50 100644
--- a/std/fs/ensure_file_test.ts
+++ b/std/fs/ensure_file_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { test } from "../testing/mod.ts";
import { assertThrows, assertThrowsAsync } from "../testing/asserts.ts";
import * as path from "../path/mod.ts";
diff --git a/std/fs/ensure_link.ts b/std/fs/ensure_link.ts
index f2db5243c..e43325a25 100644
--- a/std/fs/ensure_link.ts
+++ b/std/fs/ensure_link.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import * as path from "../path/mod.ts";
import { ensureDir, ensureDirSync } from "./ensure_dir.ts";
import { exists, existsSync } from "./exists.ts";
diff --git a/std/fs/ensure_link_test.ts b/std/fs/ensure_link_test.ts
index d15e5c1f6..e438bf0e3 100644
--- a/std/fs/ensure_link_test.ts
+++ b/std/fs/ensure_link_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// TODO(axetroy): Add test for Windows once symlink is implemented for Windows.
import { test } from "../testing/mod.ts";
import {
diff --git a/std/fs/ensure_symlink.ts b/std/fs/ensure_symlink.ts
index 4c771e5f9..03c355b5d 100644
--- a/std/fs/ensure_symlink.ts
+++ b/std/fs/ensure_symlink.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import * as path from "../path/mod.ts";
import { ensureDir, ensureDirSync } from "./ensure_dir.ts";
import { exists, existsSync } from "./exists.ts";
diff --git a/std/fs/ensure_symlink_test.ts b/std/fs/ensure_symlink_test.ts
index 6c1fe5fb5..ee32d4861 100644
--- a/std/fs/ensure_symlink_test.ts
+++ b/std/fs/ensure_symlink_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// TODO(axetroy): Add test for Windows once symlink is implemented for Windows.
import { test } from "../testing/mod.ts";
import {
diff --git a/std/fs/eol.ts b/std/fs/eol.ts
index 55d03fa83..d4bb8032c 100644
--- a/std/fs/eol.ts
+++ b/std/fs/eol.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/** EndOfLine character enum */
export enum EOL {
diff --git a/std/fs/eol_test.ts b/std/fs/eol_test.ts
index 4669c795a..92306ce6b 100644
--- a/std/fs/eol_test.ts
+++ b/std/fs/eol_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { test } from "../testing/mod.ts";
import { assertEquals } from "../testing/asserts.ts";
import { format, detect, EOL } from "./eol.ts";
diff --git a/std/fs/exists.ts b/std/fs/exists.ts
index aa6334b43..4584dbff9 100644
--- a/std/fs/exists.ts
+++ b/std/fs/exists.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
const { lstat, lstatSync, DenoError, ErrorKind } = Deno;
/**
* Test whether or not the given path exists by checking with the file system
diff --git a/std/fs/exists_test.ts b/std/fs/exists_test.ts
index 69c18d467..b8c968a02 100644
--- a/std/fs/exists_test.ts
+++ b/std/fs/exists_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { test } from "../testing/mod.ts";
import { assertEquals } from "../testing/asserts.ts";
import * as path from "../path/mod.ts";
diff --git a/std/fs/mod.ts b/std/fs/mod.ts
index 684ad94bd..aa76b6925 100644
--- a/std/fs/mod.ts
+++ b/std/fs/mod.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
export * from "./empty_dir.ts";
export * from "./ensure_dir.ts";
export * from "./ensure_file.ts";
diff --git a/std/fs/move.ts b/std/fs/move.ts
index 190f88609..e87d59c6e 100644
--- a/std/fs/move.ts
+++ b/std/fs/move.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { exists, existsSync } from "./exists.ts";
import { isSubdir } from "./utils.ts";
diff --git a/std/fs/move_test.ts b/std/fs/move_test.ts
index d45ae1cf5..27f66f7de 100644
--- a/std/fs/move_test.ts
+++ b/std/fs/move_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { test } from "../testing/mod.ts";
import {
assertEquals,
diff --git a/std/fs/read_file_str.ts b/std/fs/read_file_str.ts
index 9f87c9338..7420183e2 100644
--- a/std/fs/read_file_str.ts
+++ b/std/fs/read_file_str.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
export interface ReadOptions {
encoding?: string;
diff --git a/std/fs/read_json.ts b/std/fs/read_json.ts
index ca5928afe..aa7a0a477 100644
--- a/std/fs/read_json.ts
+++ b/std/fs/read_json.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/** Reads a JSON file and then parses it into an object */
export async function readJson(filePath: string): Promise<unknown> {
diff --git a/std/fs/read_json_test.ts b/std/fs/read_json_test.ts
index c4c8d67d8..c89006ec1 100644
--- a/std/fs/read_json_test.ts
+++ b/std/fs/read_json_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { test } from "../testing/mod.ts";
import {
assertEquals,
diff --git a/std/fs/write_file_str.ts b/std/fs/write_file_str.ts
index a4a4beb5b..670399dcc 100644
--- a/std/fs/write_file_str.ts
+++ b/std/fs/write_file_str.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/**
* Write the string to file synchronously.
diff --git a/std/fs/write_json.ts b/std/fs/write_json.ts
index c5936d3f8..e382fa306 100644
--- a/std/fs/write_json.ts
+++ b/std/fs/write_json.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/* eslint-disable @typescript-eslint/no-explicit-any */
type Replacer = (key: string, value: any) => any;
diff --git a/std/fs/write_json_test.ts b/std/fs/write_json_test.ts
index 38bc3ed4b..5b1d88c5a 100644
--- a/std/fs/write_json_test.ts
+++ b/std/fs/write_json_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { test } from "../testing/mod.ts";
import {
assertEquals,