Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up file uploading for large files #17

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: update sdk
veritem committed Oct 27, 2021

Verified

This commit was signed with the committer’s verified signature.
veritem Verité Mugabo
commit 4a5f8ff5e7290cfcc1ed3617cb0dc785298027e9
17,373 changes: 0 additions & 17,373 deletions package-lock.json

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -24,6 +24,7 @@
},
"homepage": "https://github.com/kobra-dev/dataset-api#readme",
"dependencies": {
"@aws-sdk/client-s3": "^3.38.0",
"@aws-sdk/types": "^3.15.0",
"@types/validator": "^13.1.3",
"aws-sdk": "^2.903.0",
5 changes: 0 additions & 5 deletions renovate.json

This file was deleted.

8 changes: 8 additions & 0 deletions src/utils/s3-fs.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { S3 } from '@aws-sdk/client-s3'
const client = new S3({ region: 'us-west-2' })

async function upload(file: Buffer) {}

async function get_object() {}

async function delete_object(key: string) {}
10,475 changes: 5,703 additions & 4,772 deletions yarn.lock

Large diffs are not rendered by default.