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

Object deletion by scope #294

Open
kanes115 opened this issue Feb 3, 2020 · 2 comments
Open

Object deletion by scope #294

kanes115 opened this issue Feb 3, 2020 · 2 comments

Comments

@kanes115
Copy link

kanes115 commented Feb 3, 2020

It would be nice to be able to delete files by scope (and not by a specific file name). There are use cases where you upload multiple files per scope and want to delete every file that is connected to it at some point. If that is somehow possible now, please refer me to a place in docs/code.

Environment

  • Elixir version (elixir -v): 1.9.1
  • Arc version (mix deps):
    arc_gcs 0.2.1 (Hex package) (mix)
    locked at 0.2.1 (arc_gcs) 7b90e69f
  • Operating system: MacOS
@achempion
Copy link

You mean, you want to have files deleted automatically as a callback of deleting base resource?

@kanes115
Copy link
Author

@achempion yes, all files connected with a given scope. Not necessarily on a callback (could be explicit).

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