Changeset 3360

Show
Ignore:
Timestamp:
06/13/08 14:28:48 (2 months ago)
Author:
dgollub
Message:

Get rid of recursive file sync support in mock-sync.
Keep the mock-sync simple as possible.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tests/mock-plugin/mock_sync.c

    r3359 r3360  
    282282                osync_trace(TRACE_INTERNAL, "path2 %s %s", filename, relative_filename); 
    283283                 
    284                 if (g_file_test(filename, G_FILE_TEST_IS_DIR)) { 
    285                         /* Recurse into subdirectories */ 
    286                         if (directory->recursive) 
    287                                 mock_report_dir(directory, relative_filename, ctx, info); 
    288                 } else if (g_file_test(filename, G_FILE_TEST_IS_REGULAR)) { 
     284                if (g_file_test(filename, G_FILE_TEST_IS_REGULAR)) { 
    289285                         
    290286                        struct stat buf; 
  • trunk/tests/mock-plugin/mock_sync.h

    r3359 r3360  
    7272        OSyncHashTable *hashtable; 
    7373        OSyncObjTypeSink *sink; 
    74         osync_bool recursive; 
    7574        mock_env *env; 
    7675        osync_bool committed_all;