#include "../FSIpredefines.h"
#include "cvec/cvec.h"
Go to the source code of this file.
|
| void | fsi_walk (CVEC *vec, const char *path) |
| | Walk to every directory and file and set vec to a CVEC value.
|
◆ __FSI_DIRUTILS_CPP_CLOSE
| #define __FSI_DIRUTILS_CPP_CLOSE } |
◆ __FSI_DIRUTILS_CPP_OPEN
| #define __FSI_DIRUTILS_CPP_OPEN extern "C" { |
◆ FSI_DirData
| typedef struct FSI_DirData FSI_DirData |
◆ FSI_EntryData
| typedef struct FSI_EntryData FSI_EntryData |
◆ FSI_EntryType
◆ FSI_EntryType
| Enumerator |
|---|
| FSI_FILE | |
| FSI_DIR | |
| FSI_SYMLINK | |
| FSI_OTHER | |
Definition at line 18 of file FSI_dirUtils.h.
◆ fsi_walk()
| void fsi_walk |
( |
CVEC * | vec, |
|
|
const char * | path ) |
Walk to every directory and file and set vec to a CVEC value.
- Parameters
-
| vec | The vector to set data to |
| path | Path to walk to all its sub-dirs |
Definition at line 12 of file FSI_dirUtils.c.
13{
15
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().