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

[Infrastructure] Create IFileSystemService interface & local service #2

Open
gclodge opened this issue Jul 25, 2023 · 0 comments
Open
Labels
enhancement New feature or request Infrastructure Pertains to Haystac.Infrastructure

Comments

@gclodge
Copy link
Collaborator

gclodge commented Jul 25, 2023

Need to implement a simple IFileSystemService abstraction layer that consuming applications would use to do the following:

  • Read text / bytes from disk (async)
  • Write text / bytes to disk (async)
  • Verify if a file exists or not
  • Verify if a folder exists or not

This would enable us to seamlessly handle both local & remote assets when attempting to perform CRUD operations via the Console and is also just a good practice in general.

@gclodge gclodge added enhancement New feature or request Infrastructure Pertains to Haystac.Infrastructure labels Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Infrastructure Pertains to Haystac.Infrastructure
Projects
None yet
Development

No branches or pull requests

1 participant