GPAK
1.0.0
A general-purpose archive library
|
◆ filesystem_iterator_next_directory()
This function returns the next directory node in the filesystem tree using a depth-first search algorithm.
Definition at line 294 of file filesystem_tree.c. 303 filesystem_tree_node_t* next_directory = current_state.node_->children_[current_state.child_index_];
304 filesystem_iterator_state_t child_state = { .node_ = next_directory, .child_index_ = 0, .file_index_ = 0 };
GPAK_API filesystem_tree_node_t * filesystem_iterator_next_directory(filesystem_tree_iterator_t *_iterator) Definition: filesystem_tree.c:294 Definition: gpak_data.h:346 Definition: gpak_data.h:323 References filesystem_iterator_state::child_index_, filesystem_tree_node::children_, filesystem_iterator_state::node_, filesystem_tree_node::num_children_, filesystem_tree_iterator::stack_, and filesystem_tree_iterator::stack_size_. Referenced by _gpak_compressor_generate_dictionary(). |