From c413f4d8a4f5fa8d67f735870d27273c17123ee2 Mon Sep 17 00:00:00 2001 From: Eric Mc Sween Date: Tue, 15 Sep 2020 16:13:58 -0400 Subject: [PATCH] Fixed some function names in the docs --- libraries/object-persistor/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/object-persistor/README.md b/libraries/object-persistor/README.md index 3e33686fb0..45d7a0df09 100644 --- a/libraries/object-persistor/README.md +++ b/libraries/object-persistor/README.md @@ -185,10 +185,10 @@ An integer containing the size, in bytes When using a secondary persistor, this returns the value from the secondary persistor if no objects are found on the primary. -#### checkIfFileExists +#### checkIfObjectExists ```JavaScript -async function checkIfFileExists(bucketName, key) +async function checkIfObjectExists(bucketName, key) ``` Returns whether an object exists @@ -204,10 +204,10 @@ A boolean representing whether the object exists When using a secondary persistor, returns true if the object exists on either the primary or secondary. -#### copyFile +#### copyObject ```JavaScript -async function copyFile(bucketName, sourceKey, destKey) +async function copyObject(bucketName, sourceKey, destKey) ``` Copies a object to another key, within a bucket.