diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-07 13:56:46 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-07 13:56:46 +0000 |
| commit | 871ab773cd1d2fea89fdfe584d637c64694f9991 (patch) | |
| tree | deaa35584c236c01f90d98f1b9627c81b0480ca0 /docs/tutorials/README.md | |
| parent | 41487476bfbe842df61d821df1e3eae06b1c31e2 (diff) | |
refactor: remove align_repository_with_state duplication
- Remove duplicate AlignmentResult struct from nostr/policy/state.rs
- Remove duplicate align_repository_with_state method from StatePolicy
- Import and use the canonical implementation from git::sync
- Re-export AlignmentResult from git::sync in policy/mod.rs
The git::sync version is preferred as it:
- Handles symbolic refs (ref:) properly by skipping them
- Uses git::oid_exists which is more general than git::commit_exists
- Has a cleaner iteration pattern (delete first, then update/create)
Diffstat (limited to 'docs/tutorials/README.md')
0 files changed, 0 insertions, 0 deletions