mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-01-22 02:18:42 -05:00
9 lines
262 B
C
9 lines
262 B
C
#ifndef GB_MOVE_FILE2_H_
|
|
#define GB_MOVE_FILE2_H_
|
|
|
|
//Move/rename a file an a 2-phase commit model
|
|
int moveFile2Phase1(const char *src, const char *dst); //link or copy to destination
|
|
int moveFile2Phase2(const char *src, const char *dst); //unlink source
|
|
|
|
#endif
|