Skip to content

Commit 57570ee

Browse files
committed
docs: update CLAUDE.md with add command methods
Add documentation for Repository::add(), add_all(), and add_update() methods, add functionality description, and command module organization.
1 parent ebe12cb commit 57570ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CLAUDE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
- **Command execution**: Use std::process::Command with proper error handling and stderr capture
1313

1414
## Implementation
15-
- Available methods: Repository::init(path, bare), Repository::open(path), Repository::status()
15+
- Available methods: Repository::init(path, bare), Repository::open(path), Repository::status(), Repository::add(paths), Repository::add_all(), Repository::add_update()
1616
- Status functionality: GitStatus with FileStatus enum, files as Box<[(FileStatus, String)]>
17+
- Add functionality: Stage specific files, all changes, or tracked file updates
1718
- Utility functions: git(args, working_dir) -> Result<String>, git_raw(args, working_dir) -> Result<Output>
19+
- Command modules: status.rs, add.rs (in src/commands/)
1820
- Run `cargo build && cargo test` after code changes

0 commit comments

Comments
 (0)