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

Abstract file access layer #209

Closed
wants to merge 0 commits into from
Closed

Conversation

someotherself
Copy link
Collaborator

Draft for issue 111.
Will add more docs and tests before merge.

@someotherself someotherself marked this pull request as draft September 18, 2024 14:19
@someotherself someotherself linked an issue Sep 18, 2024 that may be closed by this pull request
/// ```
#[allow(dead_code)]
pub struct CryptoOptions<'a, State> {
state: State,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

call these as in the Rust API, like OpenOptions

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are fixed. Plus removed some dead fields in the state structs.
Will work on more docs and tests soon.


#[derive(Debug)]
pub struct File {
pub fh: u64,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

like this is

@@ -0,0 +1,167 @@
use std::str::FromStr;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

call the module tests

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Module is now called tests.rs

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

Successfully merging this pull request may close these issues.

[TBD] [async] Abstract storage API to access storage
2 participants