doc
|
#include "csync_private.h"
#include "csync_propagate.h"
#include <map>
#include <string>
#include <vector>
#include <algorithm>
Go to the source code of this file.
Data Structures | |
struct | csync_rename_s |
struct | csync_rename_s::renameop |
Functions | |
static int | _csync_rename_record (void *obj, void *data) |
static std::string | _parentDir (const std::string &path) |
int | csync_propagate_renames (CSYNC *ctx) |
char * | csync_rename_adjust_path (CSYNC *ctx, const char *path) |
void | csync_rename_destroy (CSYNC *ctx) |
void | csync_rename_record (CSYNC *ctx, const char *from, const char *to) |
|
static |
Definition at line 57 of file csync_rename.cc.
References CSYNC_INSTRUCTION_RENAME, csync_rename_s::get(), csync_file_stat_s::instruction, and csync_rename_s::todo.
Referenced by csync_propagate_renames().
|
static |
Definition at line 31 of file csync_rename.cc.
Referenced by csync_rename_adjust_path().
int csync_propagate_renames | ( | CSYNC * | ctx | ) |
Definition at line 95 of file csync_rename.cc.
References _csync_rename_record(), c_rbtree_walk(), csync_propagate_rename_file(), csync_rename_s::folder_renamed_to, csync_rename_s::get(), csync_s::remote, csync_rename_s::todo, and csync_s::tree.
char* csync_rename_adjust_path | ( | CSYNC * | ctx, |
const char * | path | ||
) |
Definition at line 82 of file csync_rename.cc.
References _parentDir(), c_strdup(), csync_rename_s::folder_renamed_to, and csync_rename_s::get().
void csync_rename_destroy | ( | CSYNC * | ctx | ) |
Definition at line 71 of file csync_rename.cc.
References csync_s::rename_info.
void csync_rename_record | ( | CSYNC * | ctx, |
const char * | from, | ||
const char * | to | ||
) |
Definition at line 77 of file csync_rename.cc.
References csync_rename_s::folder_renamed_to, and csync_rename_s::get().