Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
ab39809c2a | |||
cede6c7539 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartbucket",
|
"name": "@pushrocks/smartbucket",
|
||||||
"version": "1.0.19",
|
"version": "1.0.20",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartbucket",
|
"name": "@pushrocks/smartbucket",
|
||||||
"version": "1.0.19",
|
"version": "1.0.20",
|
||||||
"description": "simple cloud independent object storage",
|
"description": "simple cloud independent object storage",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
|
@ -154,7 +154,8 @@ export class Directory {
|
|||||||
|
|
||||||
public async fastGet(pathArg: string) {
|
public async fastGet(pathArg: string) {
|
||||||
const path = plugins.path.join(this.getBasePath(), pathArg);
|
const path = plugins.path.join(this.getBasePath(), pathArg);
|
||||||
await this.bucketRef.fastGet(path);
|
const result = await this.bucketRef.fastGet(path);
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async fastRemove(pathArg: string) {
|
public async fastRemove(pathArg: string) {
|
||||||
|
Reference in New Issue
Block a user