#ifndef FS_H #define FS_H enum EResult { FS_BUSY = -1, FS_OK = 0, FS_HELP, FS_ABORTED, FS_ERROR_ARGUMENT, FS_ERROR_NO_SYNC, FS_ERROR_MEMORY, FS_ERROR_INIT, FS_ERROR_SYNC, FS_ERROR_IO, FS_ERROR_P4 }; typedef void (*SyncStatCallbackFunc) (int inFileCount, long long inSyncSize); typedef void (*FileStatCallbackFunc) (const char* inDepotFile, const char* inClientFile, const char* inAction, int inRev, long long inFileSize); typedef void (*BufferCallbackFunc) (long long inWriteSize); EResult Sync(int argc, char **argv, const char* inToolName, SyncStatCallbackFunc inSyncStatCallback = NULL, FileStatCallbackFunc inFileStatCallback = NULL, BufferCallbackFunc inReadCallback = NULL, BufferCallbackFunc inWriteCallback = NULL); void AbortSync(); const char* GetErrorMessage(); const char* GetExtendedErrorMessage(); #endif
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 6451 | Frank Compagner |
- Now fully support unicode & utf-16 files - Improved accuracy of P4fsV progress bar - Added logging to help in remote debugging |
||
#2 | 6420 | Frank Compagner |
A number of improvements: - p4fs now supports the global -s (scripted output) option. - p4fs and P4fsV now support the modtime client option. - P4CHARSET is now correctly handled (though no full Unicode support yet). - Increased the maximum command line length for p4fs to the Windows maximum 32768. - Improved error handling. - Fixed a crash when cancelling a sync using the async or multithreaded writers. - P4fsV progressbar now behaves well when passing more than one filespec - P4fsV will now offer the option to overwrite any locally changed (but not checked out) files when it finds these during a sync (cannot clobber ...). - Made the P4fsV error dialog resizeable. - P4fsV Windows layout fixed so it works properly with all Windows style setings. - Ooh, and prettier icons too. |
||
#1 | 6187 | Frank Compagner | Added p4fs project |