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

Implement Virtual Filesystem #1

Open
11 tasks
AldaronLau opened this issue Dec 19, 2021 · 0 comments
Open
11 tasks

Implement Virtual Filesystem #1

AldaronLau opened this issue Dec 19, 2021 · 0 comments

Comments

@AldaronLau
Copy link
Member

  • Implement Ember::new(size: usize) -> Self (creates file representing filesystem)

  • Implement Ember::save(&mut self, data: &[u8], tags: &Tags) -> Result<(), Error>

  • Implement Ember::find(&mut self, filters: &Filters, tag_kind: u8, fuzzy_search: &str) -> impl Iterator<Item = Metadata>

  • Implement Ember::load(&mut self, file_id: &FileId)

  • Implement struct FileId(u64)

  • Implement struct Tag { kind: u8, name: &str }

  • Implement Tags::new()

  • Implement Tags::add(self, tag: &Tag) -> Self

  • Implement enum Metadata { Tag { tag: Tag }, File { file_id: FileId, .... }) }

  • Implement Filters::new()

  • Implement Filters::add(self, tag: Tag) -> Self

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

1 participant