diff --git a/RSYNC_COMPAT.md b/RSYNC_COMPAT.md index b1dae47..5531e52 100644 --- a/RSYNC_COMPAT.md +++ b/RSYNC_COMPAT.md @@ -6,11 +6,11 @@ This document maps rsync's full feature set to FastSync's current implementation | Status | Count | Description | |--------|-------|-------------| -| ✅ Implemented | 94 | Feature works end-to-end | +| ✅ Implemented | 101 | Feature works end-to-end | | 🔀 Alt Arg | 3 | Functionality exists but under different flag/semantics | -| ⚠️ Partial | 6 | Flag parsed/stored but behavior incomplete | +| ⚠️ Partial | 10 | Flag parsed/stored but behavior incomplete | | 🔄 Compatibility No-op | 3 | Flag is accepted for CLI compatibility but has no effect | -| ❌ Not Implemented | 41 | Flag not recognized or no behavior | +| ❌ Not Implemented | 30 | Flag not recognized or no behavior | | **Total** | **147** | | --- diff --git a/src/client/client_send.c b/src/client/client_send.c index 1649788..2f0c00a 100644 --- a/src/client/client_send.c +++ b/src/client/client_send.c @@ -1277,7 +1277,7 @@ static int send_chunk_with_removal(Client* client, Chunk* chunk, Config* config, change_emit_file_sent(config, f); continue; } -/* Symlink entry (-l / -k keep-as-symlink): only the target rides the wire. */ + /* Symlink entry (-l / -k keep-as-symlink): only the target rides the wire. */ if (f->is_symlink) { if (!send_symlink_entry(client, f, config)) return -1; diff --git a/src/server/receiver.c b/src/server/receiver.c index 766dab5..62694fb 100644 --- a/src/server/receiver.c +++ b/src/server/receiver.c @@ -186,7 +186,7 @@ int receiver_process_pending(Config* config, int file_descriptor, const Receiver File* file = file_receive_hardlink(file_descriptor); if (!file || !sink->store_file(file, sink->context)) goto receive_error; -} else if (status == STATUS_SYMLINK) { + } else if (status == STATUS_SYMLINK) { File* sym = file_receive_symlink(file_descriptor, config); if (!sym || !sink->store_file(sym, sink->context)) goto receive_error; diff --git a/src/shared/chunk.c b/src/shared/chunk.c index 974af0c..5b0069e 100644 --- a/src/shared/chunk.c +++ b/src/shared/chunk.c @@ -135,7 +135,7 @@ Data* chunk_serialize(Chunk* chunk, bool use_metadata) { memcpy(data_pointer, wire_path, path_len); data_pointer += path_len; -int entry_type = file->is_dir ? 1 : (file->is_symlink ? 2 : (file->is_special ? 3 : 0)); + int entry_type = file->is_dir ? 1 : (file->is_symlink ? 2 : (file->is_special ? 3 : 0)); memcpy(data_pointer, &entry_type, sizeof(int)); data_pointer += sizeof(int);