Commits

shl...@52c325ad-5fd0-0310-8a0f-c43feede02cc  committed f062920

Add the prune method.

  • Participants
  • Parent commits d568b61

Comments (0)

Files changed (2)

File libfilefind/c_glib_based/filefind.c

         return FILE_FIND_COULD_NOT_OPEN_DIR;
     }
 }
+
+int file_find_prune(
+    file_find_handle_t * handle
+)
+{
+    return file_find_set_traverse_to(handle, 0, NULL);
+}
+

File libfilefind/c_glib_based/filefind.h

     char * * children
 );
 
+
+extern int file_find_prune(
+    file_find_handle_t * handle
+);
+
 int file_find_get_current_node_files_list(
     file_find_handle_t * handle,
     int * ptr_to_num_files,