@@ -1678,6 +1678,193 @@ string git_refspec_string(resource $refspec)
16781678
16791679string git_refspec_transform(resource $refspec,string $name)
16801680
1681+ ----------------------------------------
1682+ [git_remote]
1683+ ----------------------------------------
1684+
1685+ Callback signatures:
1686+
1687+ Transport message callback:
1688+
1689+ bool callback(string $str,mixed $payload)
1690+
1691+ If the function returns non-null and false, then the operation is
1692+ aborted.
1693+
1694+ Completion callback:
1695+
1696+ void callback(int $type,mixed $payload)
1697+
1698+ Credential acquire callback:
1699+
1700+ ?resource callback(
1701+ string $url,
1702+ string $username_from_url,
1703+ int $allowed_types,
1704+ mixed $payload
1705+ )
1706+
1707+ Returns git_credential resource or NULL to passthrough
1708+
1709+ Transport certificate check callback:
1710+
1711+ bool callback(array $cert,bool $valid,string $host,mixed $payload)
1712+
1713+ Transfer progress callback:
1714+
1715+ void callback(array $stats,mixed $payload)
1716+
1717+ Same as for git_indexer_new
1718+
1719+ Update tips callback:
1720+
1721+ void callback(string $refname,string $a,string $b,mixed $payload)
1722+
1723+ Packbuilder progress callback:
1724+
1725+ See git_packbuilder notes
1726+
1727+ void callback(int $stage,int $current,int $total,mixed $payload)
1728+
1729+ Push transfer progress callback:
1730+
1731+ void callback(int $current,int $total,int $bytes,mixed $payload)
1732+
1733+ Push update reference callback:
1734+
1735+ void callback(string $refname,string $status,mixed $payload)
1736+
1737+ Push negotiation callback:
1738+
1739+ void callback(array $updates,mixed $payload)
1740+
1741+ The transport callback is not implemented at this time since we do not yet
1742+ implement custom transports.
1743+
1744+ void git_remote_add_fetch(resource $repo,string $remote,string $refspec)
1745+
1746+ void git_remote_add_push(resource $repo,string $remote,string $refspec)
1747+
1748+ int git_remote_autotag(resource $remote)
1749+
1750+ void git_remote_connect(resource $remote,int $direction,?array $callbacks,?array $proxy_options,?array $custom_headers)
1751+
1752+ Parameter $callbacks is an associative array corresponding to
1753+ git_remote_callbacks.
1754+
1755+ Parameter $proxy_options is an associative array corresponding to
1756+ git_proxy_options. Options are defaulted using git_proxy_init_options().
1757+
1758+ Parameter $custom_headers is an array of strings.
1759+
1760+ bool git_remote_connected(resource $remote)
1761+
1762+ resource git_remote_create(resource $repo,string $name,string $url)
1763+
1764+ Returns git_remote resource
1765+
1766+ resource git_remote_create_anonymous(resource $repo,string $url)
1767+
1768+ Returns git_remote resource
1769+
1770+ resource git_remote_create_with_fetchspec(resource $repo,string $name,string $url,string $fetchspec)
1771+
1772+ Returns git_remote resource
1773+
1774+ string git_remote_default_branch(resource $remote)
1775+
1776+ void git_remote_delete(resource $repo,string $name)
1777+
1778+ void git_remote_disconnect(resource $remote)
1779+
1780+ void git_remote_download(resource $remote,?array $refspecs,?array $fetch_options)
1781+
1782+ Parameter $fetch_options is an associative array corresponding to
1783+ git_fetch_options. Options are defaulted using git_fetch_init_options().
1784+
1785+ resource git_remote_dup(resource $remote)
1786+
1787+ Returns git_remote resource
1788+
1789+ void git_remote_fetch(resource $remote,?array $refspecs,?array $fetch_options,?string $reflog_message)
1790+
1791+ Parameter $refspecs is an array of strings.
1792+
1793+ Parameter $fetch_options is an associative array corresponding to
1794+ git_fetch_options. Options are defaulted using git_fetch_init_options().
1795+
1796+ void git_remote_free(resource $remote)
1797+
1798+ array git_remote_get_fetch_refspecs(resource $remote)
1799+
1800+ array git_remote_get_push_refspecs(resource $remote)
1801+
1802+ resource git_remote_get_refspec(resource $remote,int $n)
1803+
1804+ Returns git_refspec resource
1805+
1806+ bool git_remote_is_valid_name(string $remote_name)
1807+
1808+ array git_remote_list(resource $repo)
1809+
1810+ resource git_remote_lookup(resource $repo,string $name)
1811+
1812+ Returns git_remote resource
1813+
1814+ array git_remote_ls(resource $remote)
1815+
1816+ Returns an indexed array of git_remote_head arrays
1817+
1818+ string git_remote_name(resource $remote)
1819+
1820+ resource git_remote_owner(resource $remote)
1821+
1822+ Returns git_repository resource
1823+
1824+ void git_remote_prune(resource $remote,?array $callbacks)
1825+
1826+ Parameter $callbacks is an associative array corresponding to
1827+ git_remote_callbacks.
1828+
1829+ void git_remote_prune_refs(resource $remote)
1830+
1831+ void git_remote_push(resource $remote,?array $refspecs,?array $push_options)
1832+
1833+ Parameter $refspecs is an array of string.
1834+
1835+ Parameter $push_options is an associative array corresponding to
1836+ git_push_options. Options are defaulted using git_push_init_options().
1837+
1838+ string git_remote_pushurl(resource $remote)
1839+
1840+ int git_remote_refspec_count(resource $remote)
1841+
1842+ array git_remote_rename(resource $repo,string $name,string $new_name)
1843+
1844+ void git_remote_set_autotag(resource $repo,string $remote,int $value)
1845+
1846+ void git_remote_set_pushurl(resource $repo,string $remote,string $url)
1847+
1848+ void git_remote_set_url(resource $repo,string $remote,string $url)
1849+
1850+ array git_remote_stats(resource $remote)
1851+
1852+ void git_remote_stop(resource $remote)
1853+
1854+ void git_remote_update_tips(resource $remote,?array $callbacks,bool $update_fetchhead,int $download_tags,?string $reflog_message)
1855+
1856+ Parameter $callbacks is an associative array corresponding to
1857+ git_remote_callbacks.
1858+
1859+ void git_remote_upload(resource $remote,?array $refspecs,?array $push_options)
1860+
1861+ Parameter $refspecs is an array of string.
1862+
1863+ Parameter $push_options is an associative array corresponding to
1864+ git_push_options. Options are defaulted using git_push_init_options().
1865+
1866+ string git_remote_url(resource $remote)
1867+
16811868----------------------------------------
16821869[git_repository]
16831870----------------------------------------
@@ -2258,181 +2445,6 @@ git_stash_save(resource,resource,string,int)
22582445
22592446 Returns int
22602447
2261- ----------------------------------------
2262- [git_remote]
2263- ----------------------------------------
2264-
2265- Callback signatures:
2266-
2267- Transport message callback:
2268-
2269- bool callback(string $str,mixed $payload)
2270-
2271- If the function returns non-null and false, then the operation is
2272- aborted.
2273-
2274- Completion callback:
2275-
2276- void callback(int $type,mixed $payload)
2277-
2278- Credential acquire callback:
2279-
2280- resource callback(string $url,string $username_from_url,
2281- int $allowed_types,mixed $payload)
2282-
2283- Returns git_credential resource or NULL to passthrough
2284-
2285- Transport certificate check callback:
2286-
2287- bool callback(array $cert,bool $valid,string $host,mixed $payload)
2288-
2289- Transfer progress callback:
2290-
2291- Same as for git_indexer_new:
2292-
2293- void callback(array $stats,mixed $payload)
2294-
2295- Update tips callback:
2296-
2297- void callback(string $refname,string $a,string $b,mixed $payload)
2298-
2299- Packbuilder progress callback:
2300-
2301- See git_packbuilder notes
2302-
2303- void callback(int $stage,int $current,int $total,mixed $payload)
2304-
2305- Push transfer progress callback:
2306-
2307- void callback(int $current,int $total,int $bytes,mixed $payload)
2308-
2309- Push update reference callback:
2310-
2311- void callback(string $refname,string $status,mixed $payload)
2312-
2313- Push negotiation callback:
2314-
2315- void callback(array $updates,mixed $payload)
2316-
2317- NOTE: the transport callback is not implemented at this time since we do not
2318- yet implement custom transports.
2319-
2320- git_remote_add_fetch(resource,string,string)
2321-
2322- git_remote_add_push(resource,string,string)
2323-
2324- git_remote_autotag(resource)
2325-
2326- Returns int
2327-
2328- git_remote_connect(resource,int,array|null,array|null,array|null)
2329-
2330- git_remote_connected(resource)
2331-
2332- Returns bool
2333-
2334- git_remote_create(resource,string,string)
2335-
2336- Returns git_remote resource
2337-
2338- git_remote_create_anonymous(resource,string)
2339-
2340- Returns git_remote resource
2341-
2342- git_remote_create_with_fetchspec(resource,string,string,string)
2343-
2344- Returns git_remote resource
2345-
2346- git_remote_default_branch(resource)
2347-
2348- Returns string
2349-
2350- git_remote_delete(resource,string)
2351-
2352- git_remote_disconnect(resource)
2353-
2354- git_remote_download(resource,null|array,array|null)
2355-
2356- git_remote_dup(resource)
2357-
2358- Returns git_remote resource
2359-
2360- git_remote_fetch(resource,array|null,array|null,string|null)
2361-
2362- git_remote_free(resource)
2363-
2364- git_remote_get_fetch_refspecs(resource)
2365-
2366- Returns array
2367-
2368- git_remote_get_push_refspecs(resource)
2369-
2370- Returns array
2371-
2372- git_remote_get_refspec(resource)
2373-
2374- Returns git_refspec resource
2375-
2376- git_remote_is_valid_name(string)
2377-
2378- Returns bool
2379-
2380- git_remote_list(resource)
2381-
2382- Returns array
2383-
2384- git_remote_lookup(resource,string)
2385-
2386- Returns git_remote resource
2387-
2388- git_remote_ls(resource)
2389-
2390- Returns array
2391-
2392- git_remote_name(resource)
2393-
2394- Returns string
2395-
2396- git_remote_owner(resource)
2397-
2398- Returns git_repository resource
2399-
2400- git_remote_prune(resource,array|null)
2401-
2402- git_remote_prune_refs(resource)
2403-
2404- git_remote_push(resource,array|null,array|null)
2405-
2406- git_remote_pushurl(resource)
2407-
2408- git_remote_refspec_count(resource)
2409-
2410- Returns int
2411-
2412- git_remote_rename(resource,string,string)
2413-
2414- Returns array
2415-
2416- git_remote_set_autotag(resource,string,int)
2417-
2418- git_remote_set_pushurl(resource,string,string)
2419-
2420- git_remote_set_url(resource,string,string)
2421-
2422- git_remote_stats(resource)
2423-
2424- Returns array
2425-
2426- git_remote_stop(resource)
2427-
2428- git_remote_update_tips(resource,array|null,bool,int,string|null)
2429-
2430- git_remote_upload(resource,array|null,array|null)
2431-
2432- git_remote_url(resource)
2433-
2434- Returns string
2435-
24362448----------------------------------------
24372449[git_submodule]
24382450----------------------------------------
0 commit comments