Linux server.nvwebsoft.co.in 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Apache
: 162.240.12.249 | : 52.15.233.83
202 Domain
8.1.31
nbspublicschool
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
git-1.8.3.1 /
technical /
[ HOME SHELL ]
Name
Size
Permission
Action
api-allocation-growing.html
17.55
KB
-rw-r--r--
api-allocation-growing.txt
1019
B
-rw-r--r--
api-argv-array.html
19.44
KB
-rw-r--r--
api-argv-array.txt
2.12
KB
-rw-r--r--
api-builtin.html
19.43
KB
-rw-r--r--
api-builtin.txt
2
KB
-rw-r--r--
api-config.html
23.39
KB
-rw-r--r--
api-config.txt
5.18
KB
-rw-r--r--
api-credentials.html
27.9
KB
-rw-r--r--
api-credentials.txt
8.87
KB
-rw-r--r--
api-decorate.html
16.23
KB
-rw-r--r--
api-decorate.txt
60
B
-rw-r--r--
api-diff.html
24.32
KB
-rw-r--r--
api-diff.txt
5.22
KB
-rw-r--r--
api-directory-listing.html
20.75
KB
-rw-r--r--
api-directory-listing.txt
2.71
KB
-rw-r--r--
api-gitattributes.html
21.9
KB
-rw-r--r--
api-gitattributes.txt
3.62
KB
-rw-r--r--
api-grep.html
16.31
KB
-rw-r--r--
api-grep.txt
76
B
-rw-r--r--
api-hash.html
18.42
KB
-rw-r--r--
api-hash.txt
1.4
KB
-rw-r--r--
api-hashmap.html
35.57
KB
-rw-r--r--
api-hashmap.txt
7.71
KB
-rw-r--r--
api-history-graph.html
24.08
KB
-rw-r--r--
api-history-graph.txt
5.9
KB
-rw-r--r--
api-in-core-index.html
16.96
KB
-rw-r--r--
api-in-core-index.txt
457
B
-rw-r--r--
api-index-skel.txt
431
B
-rw-r--r--
api-index.html
18.45
KB
-rw-r--r--
api-index.sh
611
B
-rw-r--r--
api-index.txt
1.68
KB
-rw-r--r--
api-lockfile.html
20.05
KB
-rw-r--r--
api-lockfile.txt
2.92
KB
-rw-r--r--
api-merge.html
21.36
KB
-rw-r--r--
api-merge.txt
3.3
KB
-rw-r--r--
api-object-access.html
16.73
KB
-rw-r--r--
api-object-access.txt
342
B
-rw-r--r--
api-parse-options.html
31.03
KB
-rw-r--r--
api-parse-options.txt
9.36
KB
-rw-r--r--
api-quote.html
16.42
KB
-rw-r--r--
api-quote.txt
145
B
-rw-r--r--
api-ref-iteration.html
19.71
KB
-rw-r--r--
api-ref-iteration.txt
2.41
KB
-rw-r--r--
api-remote.html
21.26
KB
-rw-r--r--
api-remote.txt
3.3
KB
-rw-r--r--
api-revision-walking.html
19.76
KB
-rw-r--r--
api-revision-walking.txt
2.39
KB
-rw-r--r--
api-run-command.html
28.25
KB
-rw-r--r--
api-run-command.txt
8.08
KB
-rw-r--r--
api-setup.html
16.51
KB
-rw-r--r--
api-setup.txt
180
B
-rw-r--r--
api-sha1-array.html
19.39
KB
-rw-r--r--
api-sha1-array.txt
2.25
KB
-rw-r--r--
api-sigchain.html
17.74
KB
-rw-r--r--
api-sigchain.txt
1.34
KB
-rw-r--r--
api-strbuf.html
32.15
KB
-rw-r--r--
api-strbuf.txt
10.17
KB
-rw-r--r--
api-string-list.html
26.42
KB
-rw-r--r--
api-string-list.txt
6.84
KB
-rw-r--r--
api-tree-walking.html
23.17
KB
-rw-r--r--
api-tree-walking.txt
4.27
KB
-rw-r--r--
api-xdiff-interface.html
16.3
KB
-rw-r--r--
api-xdiff-interface.txt
139
B
-rw-r--r--
index-format.html
27.12
KB
-rw-r--r--
index-format.txt
6.29
KB
-rw-r--r--
pack-format.html
24.08
KB
-rw-r--r--
pack-format.txt
5.54
KB
-rw-r--r--
pack-heuristics.html
42.74
KB
-rw-r--r--
pack-heuristics.txt
17.77
KB
-rw-r--r--
pack-protocol.html
43.12
KB
-rw-r--r--
pack-protocol.txt
20.99
KB
-rw-r--r--
protocol-capabilities.html
25.41
KB
-rw-r--r--
protocol-capabilities.txt
7.09
KB
-rw-r--r--
protocol-common.html
20.08
KB
-rw-r--r--
protocol-common.txt
2.7
KB
-rw-r--r--
racy-git.html
26.85
KB
-rw-r--r--
racy-git.txt
8.63
KB
-rw-r--r--
send-pack-pipeline.html
18.73
KB
-rw-r--r--
send-pack-pipeline.txt
1.92
KB
-rw-r--r--
shallow.html
18.86
KB
-rw-r--r--
shallow.txt
2.3
KB
-rw-r--r--
trivial-merge.html
21.62
KB
-rw-r--r--
trivial-merge.txt
4.16
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : api-tree-walking.txt
tree walking API ================ The tree walking API is used to traverse and inspect trees. Data Structures --------------- `struct name_entry`:: An entry in a tree. Each entry has a sha1 identifier, pathname, and mode. `struct tree_desc`:: A semi-opaque data structure used to maintain the current state of the walk. + * `buffer` is a pointer into the memory representation of the tree. It always points at the current entry being visited. * `size` counts the number of bytes left in the `buffer`. * `entry` points to the current entry being visited. `struct traverse_info`:: A structure used to maintain the state of a traversal. + * `prev` points to the traverse_info which was used to descend into the current tree. If this is the top-level tree `prev` will point to a dummy traverse_info. * `name` is the entry for the current tree (if the tree is a subtree). * `pathlen` is the length of the full path for the current tree. * `conflicts` can be used by callbacks to maintain directory-file conflicts. * `fn` is a callback called for each entry in the tree. See Traversing for more information. * `data` can be anything the `fn` callback would want to use. * `show_all_errors` tells whether to stop at the first error or not. Initializing ------------ `init_tree_desc`:: Initialize a `tree_desc` and decode its first entry. The buffer and size parameters are assumed to be the same as the buffer and size members of `struct tree`. `fill_tree_descriptor`:: Initialize a `tree_desc` and decode its first entry given the sha1 of a tree. Returns the `buffer` member if the sha1 is a valid tree identifier and NULL otherwise. `setup_traverse_info`:: Initialize a `traverse_info` given the pathname of the tree to start traversing from. The `base` argument is assumed to be the `path` member of the `name_entry` being recursed into unless the tree is a top-level tree in which case the empty string ("") is used. Walking ------- `tree_entry`:: Visit the next entry in a tree. Returns 1 when there are more entries left to visit and 0 when all entries have been visited. This is commonly used in the test of a while loop. `tree_entry_len`:: Calculate the length of a tree entry's pathname. This utilizes the memory structure of a tree entry to avoid the overhead of using a generic strlen(). `update_tree_entry`:: Walk to the next entry in a tree. This is commonly used in conjunction with `tree_entry_extract` to inspect the current entry. `tree_entry_extract`:: Decode the entry currently being visited (the one pointed to by `tree_desc's` `entry` member) and return the sha1 of the entry. The `pathp` and `modep` arguments are set to the entry's pathname and mode respectively. `get_tree_entry`:: Find an entry in a tree given a pathname and the sha1 of a tree to search. Returns 0 if the entry is found and -1 otherwise. The third and fourth parameters are set to the entry's sha1 and mode respectively. Traversing ---------- `traverse_trees`:: Traverse `n` number of trees in parallel. The `fn` callback member of `traverse_info` is called once for each tree entry. `traverse_callback_t`:: The arguments passed to the traverse callback are as follows: + * `n` counts the number of trees being traversed. * `mask` has its nth bit set if something exists in the nth entry. * `dirmask` has its nth bit set if the nth tree's entry is a directory. * `entry` is an array of size `n` where the nth entry is from the nth tree. * `info` maintains the state of the traversal. + Returning a negative value will terminate the traversal. Otherwise the return value is treated as an update mask. If the nth bit is set the nth tree will be updated and if the bit is not set the nth tree entry will be the same in the next callback invocation. `make_traverse_path`:: Generate the full pathname of a tree entry based from the root of the traversal. For example, if the traversal has recursed into another tree named "bar" the pathname of an entry "baz" in the "bar" tree would be "bar/baz". `traverse_path_len`:: Calculate the length of a pathname returned by `make_traverse_path`. This utilizes the memory structure of a tree entry to avoid the overhead of using a generic strlen(). Authors ------- Written by Junio C Hamano <gitster@pobox.com> and Linus Torvalds <torvalds@linux-foundation.org>
Close