ftwin 0.8.10
ft_ignore_context_t Struct Reference

Represents the ignore rules for a specific directory and its descendants. More...

#include <ft_ignore.h>

Collaboration diagram for ft_ignore_context_t:

Data Fields

struct ft_ignore_context_tparent
 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.
 

Detailed Description

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.


The documentation for this struct was generated from the following file: