From 21e2eb1ea9230ab35f1583e9e090912e686a1b33 Mon Sep 17 00:00:00 2001 From: DioCrafts Date: Wed, 2 Apr 2025 03:43:57 +0200 Subject: [PATCH] adding favorite feature --- CLAUDE.md | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index 1ed13988..00000000 --- a/CLAUDE.md +++ /dev/null @@ -1,30 +0,0 @@ -# CLAUDE.md - -This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. - -## Build Commands -- `cargo build` - Build the project -- `cargo run` - Run OxiCloud locally -- `cargo build --release` - Build with full optimization -- `cargo run --release` - Run optimized build -- `RUST_LOG=debug cargo run` - Run with detailed logging - -## Test Commands -- `cargo test` - Run all tests -- `cargo test ` - Run a specific test (e.g., `cargo test trash_service_test::tests::test_move_file_to_trash`) -- `cargo bench` - Run benchmarks with optimized settings - -## Lint Commands -- `cargo clippy` - Run linter with Rust's default Clippy lints -- `cargo fmt` - Format code according to Rust style guidelines - -## Code Style Guidelines -- Use async/await for asynchronous operations with tokio runtime -- Follow Rust naming conventions: snake_case for variables/functions, CamelCase for types -- Use thiserror for error handling with comprehensive error types -- Document all public functions with doc comments (/** ... */) -- Use the #[async_trait] attribute for async trait implementations -- Follow clean architecture principles with clear layer separation (domain, application, infrastructure, interfaces) -- Use Result types with specific error enums for error handling -- Keep functions small and focused on a single responsibility -- Prefer immutable variables (let) over mutable ones (let mut) when possible \ No newline at end of file