ci: add static analysis, sanitizers, and formatting enforcement #24
+1
-1
@@ -136,7 +136,7 @@ bool file_save_to_disk(const char* root_directory, File* file) {
|
|||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
File* receive_incremental_check(int fd, Config* config, bool* skipped) {
|
File* receive_incremental_check(int fd, const Config* config, bool* skipped) {
|
||||||
*skipped = false;
|
*skipped = false;
|
||||||
char* check_path = receive_str(fd);
|
char* check_path = receive_str(fd);
|
||||||
if (check_path == NULL) {
|
if (check_path == NULL) {
|
||||||
|
|||||||
+1
-1
@@ -32,7 +32,7 @@ FileMetadata* file_metadata_create(const struct stat* stats);
|
|||||||
void file_metadata_destroy(void* metadata);
|
void file_metadata_destroy(void* metadata);
|
||||||
bool to_disk(const char* path, const void* data, unsigned long long data_size);
|
bool to_disk(const char* path, const void* data, unsigned long long data_size);
|
||||||
bool file_save_to_disk(const char* root_directory, File* file);
|
bool file_save_to_disk(const char* root_directory, File* file);
|
||||||
File* receive_incremental_check(int fd, Config* config, bool* skipped);
|
File* receive_incremental_check(int fd, const Config* config, bool* skipped);
|
||||||
int receive_manifest(int fd, const Config* config, int* next_status);
|
int receive_manifest(int fd, const Config* config, int* next_status);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user