From c6f8466ab58c4b23c757e7af6f26151b3d57009e Mon Sep 17 00:00:00 2001 From: Evan Hahn Date: Sun, 24 Dec 2023 15:40:16 -0500 Subject: [PATCH] Use "unlink" instead of "destroy" in docs (#39) ["destroy" was renamed to "unlink"][0] in the code. This updates the docs to reflect that change. [0]: https://github.com/random-access-storage/random-access-storage/commit/bcbe0d6191ceb44e830c1ebfefd8c42d8237e5d2 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b7be4bb..906fa86 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ Stat the storage. Should return an object with useful information about the unde Close the underlying file descriptor. -#### `file.destroy([callback])` +#### `file.unlink([callback])` Unlink the underlying file.