FileSystemIndexer v0.1.2-beta
File System Indexer - An API to index files from your system
Loading...
Searching...
No Matches
FSI_dirUtils.c File Reference
Include dependency graph for FSI_dirUtils.c:

Go to the source code of this file.

Functions

void fsi_walk (CVEC *out, const char *path)
 Walk to every directory and file and set vec to a CVEC value.

Function Documentation

◆ fsi_walk()

void fsi_walk ( CVEC * vec,
const char * path )

Walk to every directory and file and set vec to a CVEC value.

Parameters
vecThe vector to set data to
pathPath to walk to all its sub-dirs

Definition at line 12 of file FSI_dirUtils.c.

13{
14 CVEC visited = cvec_init(-1, sizeof(FSI_Visited_POSIX*));
15
16 __fsi_walk(out, &visited, path);
17
18 cvec_destroy(&visited);
19}
static void __fsi_walk(CVEC *out, CVEC *visited, const char *path)

References __fsi_walk().

Referenced by fsi::Indexer::__iteratePath().

Here is the call graph for this function:
Here is the caller graph for this function: