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

feat(monofs): add create_entity method to Dir #106

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

appcypher
Copy link
Owner

Add a new method create_entity to the Dir struct that creates an entity at a specified path without creating intermediate directories. This provides more granular control over entity creation compared to find_or_create.

  • Add create_entity method with comprehensive documentation and examples
  • Update put_entity to accept impl Into<Entity> for better ergonomics
  • Add extensive test coverage for the new functionality

Add a new method `create_entity` to the Dir struct that creates an entity at a
specified path without creating intermediate directories. This provides more
granular control over entity creation compared to find_or_create.

- Add create_entity method with comprehensive documentation and examples
- Update put_entity to accept impl Into<Entity<S>> for better ergonomics
- Add extensive test coverage for the new functionality
@appcypher appcypher merged commit 35b5928 into main Jan 13, 2025
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.

1 participant