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

[sync] fs, File and io API #246

Open
radumarias opened this issue Dec 4, 2024 · 0 comments
Open

[sync] fs, File and io API #246

radumarias opened this issue Dec 4, 2024 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@radumarias
Copy link
Member

radumarias commented Dec 4, 2024

Similar to #97 just for sync API. See if we can leverage it somehow to use the implementation from there.

The structure of crypto module, needs to mimic the std ones:

  • crypto::fs_api::sync::fs::OpenOptions
  • crypto::fs_api::sync::fs::File
  • crypto::fs_api::sync::fs
  • crypto::fs_api::sync::io - investigate if we need this
  • crypto::fs_api::path::Path - this is because in exists method uses local fs
  • [crypto::fs_api::path::PathBuf - this is because in exists method uses local fs

As these are sync methods and our EncryptedFs have async ones, we can use call_async or better channels.

@radumarias radumarias changed the title sync fs, File and io API [sync] fs, File and io API Dec 4, 2024
@radumarias radumarias added the good first issue Good for newcomers label Dec 4, 2024
@radumarias radumarias added this to rencfs Dec 4, 2024
@radumarias radumarias moved this to Todo in rencfs Dec 4, 2024
@someotherself someotherself self-assigned this Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants