ftwin 0.8.10
|
Represents the ignore rules for a specific directory and its descendants. More...
#include <ft_ignore.h>
Data Fields | |
struct ft_ignore_context_t * | parent |
Pointer to the parent directory's context, or NULL if root. | |
apr_array_header_t * | patterns |
Array of ft_ignore_pattern_t pointers defined at this level. | |
const char * | base_dir |
The absolute path to the directory this context is anchored to. | |
apr_size_t | base_dir_len |
The length of the base directory path. | |
apr_pool_t * | pool |
The memory pool used for allocations within this context. | |
Represents the ignore rules for a specific directory and its descendants.
An ignore context is tied to a base directory and contains patterns loaded from a .gitignore file within that directory. Contexts are linked to their parent's context, forming a hierarchy that mirrors the filesystem.
Definition at line 50 of file ft_ignore.h.