SmartFolder
1.0
SmartFolder is a way to search files on your system and group the results. The program will interpret search queries and create a folder with symbolic links to all the found matches.
|
Source file that contains the implementation of our Search (crawler) More...
#include "Search.h"
Functions | |
List * | searchDirectory (const char *rootDir, searchType type, const void *searchArg) |
int | timeCompare (struct timespec *candidate, struct timespec *searchTime) |
Source file that contains the implementation of our Search (crawler)
List* searchDirectory | ( | const char * | rootDir, |
searchType | type, | ||
const void * | searchArg | ||
) |
Searches recursively through directories beneath a certain directory
rootDir | The directory to start from |
type | The type of search to perform |
searchArg | The argument for the search |
int timeCompare | ( | struct timespec * | candidate, |
struct timespec * | searchTime | ||
) |
Function to compare 2 timespecs
candidate | The candidate timespec |
searchTime | The one we're comparing it to |