fix: complete issues #201-#206 remediation #208

Merged
TapTap merged 17 commits from feat/triage-complete into dev 2026-08-11 21:06:49 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit d367706689 - Show all commits
+1 -1
View File
@@ -157,7 +157,7 @@ static bool path_is_within_root(const char* root, const char* path) {
return strncmp(root, path, n) == 0 && (path[n] == '\0' || path[n] == '/');
}
bool file_save_to_disk(const char* root_directory, File* file, const Config* config) {
bool file_save_to_disk(const char* root_directory, const File* file, const Config* config) {
bool backup_enabled = config && config->backup;
bool inplace = config && config->inplace;
bool sparse = config && config->preserve_sparse;
+1 -1
View File
@@ -37,7 +37,7 @@ FileMetadata* file_metadata_create(const struct stat* stats);
void file_metadata_destroy(void* metadata);
bool to_disk(const char* path, const void* data, unsigned long long data_size, bool inplace,
bool sparse);
bool file_save_to_disk(const char* root_directory, File* file, const Config* config);
bool file_save_to_disk(const char* root_directory, const File* file, const Config* config);
File* receive_incremental_check(int fd, const Config* config, bool* skipped);
int receive_manifest(int fd, const Config* config, int* next_status);