diff options
author | Vicent Martà <tanoku@gmail.com> | 2012-05-16 21:23:47 +0400 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2012-05-16 21:24:35 +0400 |
commit | 9d0011fd83ff38561e75667451d2b6a55320d7d4 (patch) | |
tree | d4e474398f44161e75c80f1cfa4c98a983a92fb4 /src/iterator.c | |
parent | eb270884627a87a5392c0aa9c9d286877aba9f91 (diff) |
tree: Naming conventions
Diffstat (limited to 'src/iterator.c')
-rw-r--r-- | src/iterator.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/iterator.c b/src/iterator.c index c601a6e73..40ef01618 100644 --- a/src/iterator.c +++ b/src/iterator.c @@ -178,7 +178,7 @@ static tree_iterator_frame *tree_iterator__alloc_frame( if (start && *start) { tf->start = start; - tf->index = git_tree_entry_prefix_position(tree, start); + tf->index = git_tree__prefix_position(tree, start); } return tf; @@ -192,7 +192,7 @@ static int tree_iterator__expand_tree(tree_iterator *ti) tree_iterator_frame *tf; char *relpath; - while (te != NULL && entry_is_tree(te)) { + while (te != NULL && git_tree_entry__is_tree(te)) { if (git_buf_joinpath(&ti->path, ti->path.ptr, te->filename) < 0) return -1; @@ -252,7 +252,7 @@ static int tree_iterator__advance( git_buf_rtruncate_at_char(&ti->path, '/'); } - if (te && entry_is_tree(te)) + if (te && git_tree_entry__is_tree(te)) error = tree_iterator__expand_tree(ti); if (!error) @@ -288,7 +288,7 @@ static int tree_iterator__reset(git_iterator *self) if (ti->stack) ti->stack->index = - git_tree_entry_prefix_position(ti->stack->tree, ti->base.start); + git_tree__prefix_position(ti->stack->tree, ti->base.start); git_buf_clear(&ti->path); |