- Remove specific bucket metadata error variants (BucketPolicyNotFound, etc.) - Unify all configuration-not-found errors to use StorageError::ConfigNotFound - Simplify error handling in bucket metadata system by removing redundant error conversions - Clean up error matching patterns in metadata getter methods - Remove debug print statement from get_bucket_targets_config - Update error handling in S3 API layer to use unified ConfigNotFound error This change improves code maintainability by reducing error type complexity while preserving the same error semantics for API consumers.
RustFS
RustFS is a simple file system written in Rust. It is designed to be a learning project for those who want to understand how file systems work and how to implement them in Rust.
Features
- Simple file system structure
- Basic file operations (create, read, write, delete)
- Directory support
- File metadata (size, creation time, etc.)
- Basic error handling
- Unit tests for core functionality
- Documentation for public API
- Example usage
- License information
- Contributing guidelines
- Changelog
- Code of conduct
- Acknowledgements
- Contact information
- Links to additional resources
Getting Started
To get started with RustFS, clone the repository and build the project:
git clone [email protected]:rustfs/s3-rustfs.git
cd rustfs
cargo build
Usage
To use RustFS, you can create a new file system instance and perform basic file operations. Here is an example: