mirror of
https://github.com/overleaf/overleaf.git
synced 2024-09-23 02:55:13 -04:00
Merge pull request #10 from overleaf/em-fix-docs
Fixed some function names in the docs
This commit is contained in:
commit
2574b16116
1 changed files with 4 additions and 4 deletions
|
@ -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.
|
When using a secondary persistor, this returns the value from the secondary persistor if no objects are found on the primary.
|
||||||
|
|
||||||
#### checkIfFileExists
|
#### checkIfObjectExists
|
||||||
|
|
||||||
```JavaScript
|
```JavaScript
|
||||||
async function checkIfFileExists(bucketName, key)
|
async function checkIfObjectExists(bucketName, key)
|
||||||
```
|
```
|
||||||
|
|
||||||
Returns whether an object exists
|
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.
|
When using a secondary persistor, returns true if the object exists on either the primary or secondary.
|
||||||
|
|
||||||
#### copyFile
|
#### copyObject
|
||||||
|
|
||||||
```JavaScript
|
```JavaScript
|
||||||
async function copyFile(bucketName, sourceKey, destKey)
|
async function copyObject(bucketName, sourceKey, destKey)
|
||||||
```
|
```
|
||||||
|
|
||||||
Copies a object to another key, within a bucket.
|
Copies a object to another key, within a bucket.
|
||||||
|
|
Loading…
Reference in a new issue