summaryrefslogtreecommitdiff
path: root/fs/empty_dir.ts
diff options
context:
space:
mode:
Diffstat (limited to 'fs/empty_dir.ts')
-rw-r--r--fs/empty_dir.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/empty_dir.ts b/fs/empty_dir.ts
index 2ca9efb0c..72f5f9f51 100644
--- a/fs/empty_dir.ts
+++ b/fs/empty_dir.ts
@@ -4,9 +4,6 @@
* Deletes directory contents if the directory is not empty.
* If the directory does not exist, it is created.
* The directory itself is not deleted.
- * @export
- * @param {string} dir
- * @returns {Promise<void>}
*/
export async function emptyDir(dir: string): Promise<void> {
let items: Deno.FileInfo[] = [];
@@ -30,9 +27,6 @@ export async function emptyDir(dir: string): Promise<void> {
* Deletes directory contents if the directory is not empty.
* If the directory does not exist, it is created.
* The directory itself is not deleted.
- * @export
- * @param {string} dir
- * @returns {void}
*/
export function emptyDirSync(dir: string): void {
let items: Deno.FileInfo[] = [];