|
1749 | 1749 | "hasConstructor": true, |
1750 | 1750 | "functions": [] |
1751 | 1751 | }, |
| 1752 | + { |
| 1753 | + "cType": "git_commit", |
| 1754 | + "altType": "git_cherry_pick", |
| 1755 | + "trim": false, |
| 1756 | + "dependencies": [ |
| 1757 | + "../include/cherry_pick_options.h", |
| 1758 | + "../include/merge_options.h", |
| 1759 | + "../include/index.h", |
| 1760 | + "../include/repository.h", |
| 1761 | + "../include/commit.h", |
| 1762 | + "../include/cherry_pick_options.h", |
| 1763 | + "../include/index.h", |
| 1764 | + "../include/repository.h", |
| 1765 | + "../include/commit.h" |
| 1766 | + ], |
| 1767 | + "functions": [ |
| 1768 | + { |
| 1769 | + "cFunctionName": "git_cherry_pick_init_options", |
| 1770 | + "ignore": false, |
| 1771 | + "description": "<p>Initializes a <code>git_cherry_pick_options</code> with default values. Equivalent to\n creating an instance with GIT_CHERRY_PICK_OPTIONS_INIT.</p>\n", |
| 1772 | + "cppFunctionName": "CherryPickInitOptions", |
| 1773 | + "jsFunctionName": "cherryPickInitOptions", |
| 1774 | + "return": { |
| 1775 | + "cType": "int", |
| 1776 | + "comment": " Zero on success; -1 on failure.", |
| 1777 | + "cppClassName": "Number", |
| 1778 | + "jsClassName": "Number" |
| 1779 | + }, |
| 1780 | + "isConstructorMethod": false, |
| 1781 | + "isPrototypeMethod": true, |
| 1782 | + "args": [ |
| 1783 | + { |
| 1784 | + "name": "opts", |
| 1785 | + "cType": "git_cherry_pick_options *", |
| 1786 | + "cppClassName": "GitCherryPickOptions", |
| 1787 | + "jsClassName": "CherryPickOptions", |
| 1788 | + "comment": "the `git_cherry_pick_options` struct to initialize", |
| 1789 | + "isReturn": false, |
| 1790 | + "isSelf": false, |
| 1791 | + "shouldAlloc": false |
| 1792 | + }, |
| 1793 | + { |
| 1794 | + "name": "version", |
| 1795 | + "cType": "unsigned int", |
| 1796 | + "cppClassName": "Number", |
| 1797 | + "jsClassName": "Number", |
| 1798 | + "comment": "Version of struct; pass `GIT_CHERRY_PICK_OPTIONS_VERSION`", |
| 1799 | + "isReturn": false, |
| 1800 | + "isSelf": false, |
| 1801 | + "shouldAlloc": false |
| 1802 | + } |
| 1803 | + ], |
| 1804 | + "isAsync": false, |
| 1805 | + "comment": "" |
| 1806 | + }, |
| 1807 | + { |
| 1808 | + "cFunctionName": "git_cherry_pick_commit", |
| 1809 | + "ignore": false, |
| 1810 | + "description": "<p>Cherry-picks the given commit against the given "our" commit, producing an\n index that reflects the result of the cherry-pick.</p>\n", |
| 1811 | + "cppFunctionName": "CherryPickCommit", |
| 1812 | + "jsFunctionName": "cherryPickCommit", |
| 1813 | + "return": { |
| 1814 | + "cType": "int", |
| 1815 | + "comment": " zero on success, -1 on failure.", |
| 1816 | + "cppClassName": "Number", |
| 1817 | + "jsClassName": "Number", |
| 1818 | + "isErrorCode": true |
| 1819 | + }, |
| 1820 | + "isConstructorMethod": false, |
| 1821 | + "isPrototypeMethod": true, |
| 1822 | + "args": [ |
| 1823 | + { |
| 1824 | + "name": "out", |
| 1825 | + "cType": "git_index **", |
| 1826 | + "cppClassName": "GitIndex", |
| 1827 | + "jsClassName": "Index", |
| 1828 | + "comment": "pointer to store the index result in", |
| 1829 | + "isReturn": true, |
| 1830 | + "isSelf": false, |
| 1831 | + "shouldAlloc": false |
| 1832 | + }, |
| 1833 | + { |
| 1834 | + "name": "repo", |
| 1835 | + "cType": "git_repository *", |
| 1836 | + "cppClassName": "GitRepository", |
| 1837 | + "jsClassName": "Repository", |
| 1838 | + "comment": "the repository that contains the given commits", |
| 1839 | + "isReturn": false, |
| 1840 | + "isSelf": false, |
| 1841 | + "shouldAlloc": false |
| 1842 | + }, |
| 1843 | + { |
| 1844 | + "name": "cherry_pick_commit", |
| 1845 | + "cType": "git_commit *", |
| 1846 | + "cppClassName": "GitCommit", |
| 1847 | + "jsClassName": "Commit", |
| 1848 | + "comment": "the commit to cherry-pick", |
| 1849 | + "isReturn": false, |
| 1850 | + "isSelf": false, |
| 1851 | + "shouldAlloc": false |
| 1852 | + }, |
| 1853 | + { |
| 1854 | + "name": "our_commit", |
| 1855 | + "cType": "git_commit *", |
| 1856 | + "cppClassName": "GitCommit", |
| 1857 | + "jsClassName": "Commit", |
| 1858 | + "comment": "the commit to revert against (eg, HEAD)", |
| 1859 | + "isReturn": false, |
| 1860 | + "isSelf": false, |
| 1861 | + "shouldAlloc": false |
| 1862 | + }, |
| 1863 | + { |
| 1864 | + "name": "mainline", |
| 1865 | + "cType": "unsigned int", |
| 1866 | + "cppClassName": "Number", |
| 1867 | + "jsClassName": "Number", |
| 1868 | + "comment": "the parent of the revert commit, if it is a merge", |
| 1869 | + "isReturn": false, |
| 1870 | + "isSelf": false, |
| 1871 | + "shouldAlloc": false |
| 1872 | + }, |
| 1873 | + { |
| 1874 | + "name": "merge_options", |
| 1875 | + "cType": "const git_merge_options *", |
| 1876 | + "cppClassName": "GitMergeOptions", |
| 1877 | + "jsClassName": "MergeOptions", |
| 1878 | + "comment": "the merge options (or null for defaults)", |
| 1879 | + "isReturn": false, |
| 1880 | + "isSelf": false, |
| 1881 | + "shouldAlloc": false |
| 1882 | + } |
| 1883 | + ], |
| 1884 | + "isAsync": true, |
| 1885 | + "comment": "<p>The returned index must be freed explicitly with <code>git_index_free</code>.</p>\n" |
| 1886 | + }, |
| 1887 | + { |
| 1888 | + "cFunctionName": "git_cherry_pick", |
| 1889 | + "ignore": false, |
| 1890 | + "description": "<p>Cherry-pick the given commit, producing changes in the index and working directory.</p>\n", |
| 1891 | + "cppFunctionName": "CherryPick", |
| 1892 | + "jsFunctionName": "cherryPick", |
| 1893 | + "return": { |
| 1894 | + "cType": "int", |
| 1895 | + "comment": " zero on success, -1 on failure.", |
| 1896 | + "cppClassName": "Number", |
| 1897 | + "jsClassName": "Number" |
| 1898 | + }, |
| 1899 | + "isConstructorMethod": false, |
| 1900 | + "isPrototypeMethod": true, |
| 1901 | + "args": [ |
| 1902 | + { |
| 1903 | + "name": "repo", |
| 1904 | + "cType": "git_repository *", |
| 1905 | + "cppClassName": "GitRepository", |
| 1906 | + "jsClassName": "Repository", |
| 1907 | + "comment": "the repository to cherry-pick", |
| 1908 | + "isReturn": false, |
| 1909 | + "isSelf": false, |
| 1910 | + "shouldAlloc": false |
| 1911 | + }, |
| 1912 | + { |
| 1913 | + "name": "commit", |
| 1914 | + "cType": "git_commit *", |
| 1915 | + "cppClassName": "GitCommit", |
| 1916 | + "jsClassName": "Commit", |
| 1917 | + "comment": "the commit to cherry-pick", |
| 1918 | + "isReturn": false, |
| 1919 | + "isSelf": false, |
| 1920 | + "shouldAlloc": false |
| 1921 | + }, |
| 1922 | + { |
| 1923 | + "name": "cherry_pick_options", |
| 1924 | + "cType": "const git_cherry_pick_options *", |
| 1925 | + "cppClassName": "GitCherryPickOptions", |
| 1926 | + "jsClassName": "CherryPickOptions", |
| 1927 | + "comment": "the cherry-pick options (or null for defaults)", |
| 1928 | + "isReturn": false, |
| 1929 | + "isSelf": false, |
| 1930 | + "shouldAlloc": false |
| 1931 | + } |
| 1932 | + ], |
| 1933 | + "isAsync": false, |
| 1934 | + "comment": "" |
| 1935 | + } |
| 1936 | + ], |
| 1937 | + "filename": "cherrypick.h", |
| 1938 | + "ignore": false, |
| 1939 | + "cppClassName": "GitCherrypick", |
| 1940 | + "jsClassName": "Cherrypick", |
| 1941 | + "description": " Parsed representation of a commit object. ", |
| 1942 | + "fields": [] |
| 1943 | + }, |
| 1944 | + { |
| 1945 | + "cType": "git_cherry_pick_options", |
| 1946 | + "isStruct": true, |
| 1947 | + "dependencies": [ |
| 1948 | + "../include/functions/copy.h", |
| 1949 | + "../include/cherry_pick_options.h", |
| 1950 | + "../include/checkout_options.h" |
| 1951 | + ], |
| 1952 | + "fields": [], |
| 1953 | + "filename": "cherry_pick_options.h", |
| 1954 | + "ignore": false, |
| 1955 | + "cppClassName": "GitCherryPickOptions", |
| 1956 | + "jsClassName": "CherryPickOptions", |
| 1957 | + "description": " \n\n git2/cherrypick.h\n ", |
| 1958 | + "hasConstructor": true, |
| 1959 | + "functions": [] |
| 1960 | + }, |
1752 | 1961 | { |
1753 | 1962 | "cType": null, |
1754 | 1963 | "trim": false, |
|
2431 | 2640 | "hasConstructor": false, |
2432 | 2641 | "fields": [] |
2433 | 2642 | }, |
2434 | | - { |
2435 | | - "cType": null, |
2436 | | - "filename": "common.h", |
2437 | | - "ignore": false, |
2438 | | - "cppClassName": "GitCommon", |
2439 | | - "jsClassName": "Common", |
2440 | | - "dependencies": [], |
2441 | | - "fields": [], |
2442 | | - "functions": [] |
2443 | | - }, |
2444 | 2643 | { |
2445 | 2644 | "filename": "config.h", |
2446 | 2645 | "ignore": false, |
|
2458 | 2657 | "functions": [] |
2459 | 2658 | }, |
2460 | 2659 | { |
| 2660 | + "cType": "git_cred", |
2461 | 2661 | "isStruct": true, |
2462 | 2662 | "filename": "cred.h", |
2463 | 2663 | "ignore": false, |
2464 | 2664 | "cppClassName": "GitCred", |
2465 | 2665 | "jsClassName": "Cred", |
2466 | | - "cType": "git_diff", |
2467 | | - "description": " The diff object that contains all individual file deltas.", |
| 2666 | + "description": "", |
2468 | 2667 | "dependencies": [], |
2469 | 2668 | "fields": [], |
2470 | 2669 | "functions": [] |
|
2949 | 3148 | "functions": [] |
2950 | 3149 | }, |
2951 | 3150 | { |
2952 | | - "cType": null, |
2953 | | - "filename": "errors.h", |
| 3151 | + "cType": "git_error", |
| 3152 | + "altType": "giterr", |
| 3153 | + "filename": "error.h", |
2954 | 3154 | "ignore": false, |
2955 | | - "cppClassName": "GitErrors", |
2956 | | - "jsClassName": "Errors", |
2957 | | - "dependencies": [], |
2958 | | - "fields": [], |
| 3155 | + "cppClassName": "GitError", |
| 3156 | + "jsClassName": "Error", |
| 3157 | + "description": " Structure to store extra details of the last error that occurred.", |
| 3158 | + "hasConstructor": false, |
| 3159 | + "dependencies": [ |
| 3160 | + "../include/buf.h" |
| 3161 | + ], |
| 3162 | + "fields": [ |
| 3163 | + { |
| 3164 | + "type": "char *", |
| 3165 | + "name": "message", |
| 3166 | + "comments": "", |
| 3167 | + "cType": "char *", |
| 3168 | + "cppFunctionName": "Message", |
| 3169 | + "jsFunctionName": "message", |
| 3170 | + "cppClassName": "String", |
| 3171 | + "jsClassName": "String" |
| 3172 | + }, |
| 3173 | + { |
| 3174 | + "type": "int", |
| 3175 | + "name": "klass", |
| 3176 | + "comments": "", |
| 3177 | + "cType": "int", |
| 3178 | + "cppFunctionName": "Klass", |
| 3179 | + "jsFunctionName": "klass", |
| 3180 | + "cppClassName": "Number", |
| 3181 | + "jsClassName": "Number" |
| 3182 | + } |
| 3183 | + ], |
2959 | 3184 | "functions": [] |
2960 | 3185 | }, |
2961 | 3186 | { |
|
3038 | 3263 | "cppClassName": "GitInttypes", |
3039 | 3264 | "jsClassName": "Inttypes", |
3040 | 3265 | "dependencies": [ |
3041 | | - "../include/odb_backend.h" |
| 3266 | + "../include/oid.h" |
3042 | 3267 | ], |
3043 | 3268 | "fields": [], |
3044 | 3269 | "functions": [] |
|
3050 | 3275 | "cppClassName": "GitMerge", |
3051 | 3276 | "jsClassName": "Merge", |
3052 | 3277 | "dependencies": [ |
| 3278 | + "../include/merge_options.h", |
3053 | 3279 | "../include/repository.h", |
3054 | 3280 | "../include/oid.h", |
3055 | 3281 | "../include/index.h" |
3056 | 3282 | ], |
3057 | 3283 | "fields": [], |
3058 | 3284 | "functions": [] |
3059 | 3285 | }, |
| 3286 | + { |
| 3287 | + "cType": "git_merge_options", |
| 3288 | + "isStruct": true, |
| 3289 | + "filename": "merge_options.h", |
| 3290 | + "ignore": false, |
| 3291 | + "cppClassName": "GitMergeOptions", |
| 3292 | + "jsClassName": "MergeOptions", |
| 3293 | + "description": "", |
| 3294 | + "dependencies": [], |
| 3295 | + "fields": [], |
| 3296 | + "functions": [] |
| 3297 | + }, |
3060 | 3298 | { |
3061 | 3299 | "cType": null, |
3062 | 3300 | "filename": "message.h", |
|
4294 | 4532 | "ignore": false, |
4295 | 4533 | "cppClassName": "GitReset", |
4296 | 4534 | "jsClassName": "Reset", |
4297 | | - "dependencies": [], |
| 4535 | + "dependencies": [ |
| 4536 | + "../include/tag.h", |
| 4537 | + "../include/repository.h", |
| 4538 | + "../include/object.h", |
| 4539 | + "../include/oid.h", |
| 4540 | + "../include/strarray.h" |
| 4541 | + ], |
4298 | 4542 | "fields": [], |
4299 | 4543 | "functions": [] |
4300 | 4544 | }, |
|
4696 | 4940 | "fields": [], |
4697 | 4941 | "functions": [] |
4698 | 4942 | }, |
4699 | | - { |
4700 | | - "cType": null, |
4701 | | - "filename": "stdint.h", |
4702 | | - "ignore": false, |
4703 | | - "cppClassName": "GitStdint", |
4704 | | - "jsClassName": "Stdint", |
4705 | | - "dependencies": [ |
4706 | | - "../include/tree.h", |
4707 | | - "../include/repository.h", |
4708 | | - "../include/tree_entry.h", |
4709 | | - "../include/object.h", |
4710 | | - "../include/treebuilder.h", |
4711 | | - "../include/oid.h" |
4712 | | - ], |
4713 | | - "fields": [], |
4714 | | - "functions": [] |
4715 | | - }, |
4716 | | - { |
4717 | | - "cType": null, |
4718 | | - "filename": "stdarray.h", |
4719 | | - "ignore": false, |
4720 | | - "cppClassName": "GitStdarray", |
4721 | | - "jsClassName": "Stdarray", |
4722 | | - "dependencies": [], |
4723 | | - "fields": [], |
4724 | | - "functions": [] |
4725 | | - }, |
4726 | 4943 | { |
4727 | 4944 | "cType": "git_strarray", |
4728 | 4945 | "filename": "strarray.h", |
|
0 commit comments