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

Add a way to see if a key exists #123

Open
colinsteidtmann opened this issue Jun 3, 2021 · 1 comment
Open

Add a way to see if a key exists #123

colinsteidtmann opened this issue Jun 3, 2021 · 1 comment

Comments

@colinsteidtmann
Copy link

For some users, I upload a file with a key. For other users, I don't upload a file with a key. When I want to fetch all users files, I only want to fetch files if the key exists. Right now, I have to try fetching a file for every user and catch the errors if the key doesn't exist. This makes the console ugly and it wastes computation.

@SamueleA
Copy link
Contributor

Can you be more specific about the product you are talking about? This is for Fleek Storage Js, right?

Maybe you look into organizing your files into folders or buckets to query only some files? Also, you can't upload a file without a key on Fleek Storage so not sure I fully understand your question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants