Explore Enterprise Education Gitee Premium Gitee AI AI teammates
Fetch the repository succeeded.
forked from fibjs/libgit2
Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
Already have an account? Sign in
文件
main
Branches (474)
Tags (109)
main
gh-pages
maint/v1.8
ethomson/readme
ethomson/test_allocator
ethomson/fetch_opts
ethomson/config_entry
ethomson/sha256_transport
ethomson/alloc
ethomson/cb_err
ethomson/httpparser2
ethomson/httpparser
ethomson/tlsv12
ethomson/user_agent
ethomson/ci
ethomson/v18
ethomson/sha256_fix
ethomson/ctype
ethomson/mbedtls
ethomson/oops
v1.8.1
v1.8.0
v1.7.2
v1.6.5
v1.7.1
v1.7.0
v1.6.4
v1.6.3
v1.6.2
v1.6.1
v1.5.2
v1.4.6
v1.5.1
v1.4.5
v1.5.0
v1.4.4
v1.3.2
v1.3.1
v1.4.3
v1.4.2
main
Branches (474)
Tags (109)
main
gh-pages
maint/v1.8
ethomson/readme
ethomson/test_allocator
ethomson/fetch_opts
ethomson/config_entry
ethomson/sha256_transport
ethomson/alloc
ethomson/cb_err
ethomson/httpparser2
ethomson/httpparser
ethomson/tlsv12
ethomson/user_agent
ethomson/ci
ethomson/v18
ethomson/sha256_fix
ethomson/ctype
ethomson/mbedtls
ethomson/oops
v1.8.1
v1.8.0
v1.7.2
v1.6.5
v1.7.1
v1.7.0
v1.6.4
v1.6.3
v1.6.2
v1.6.1
v1.5.2
v1.4.6
v1.5.1
v1.4.5
v1.5.0
v1.4.4
v1.3.2
v1.3.1
v1.4.3
v1.4.2
Clone or Download
Clone/Download
Prompt
To download the code, please copy the following command and execute it in the terminal
To ensure that your submitted code identity is correctly recognized by Gitee, please execute the following command.
When using the SSH protocol for the first time to clone or push code, follow the prompts below to complete the SSH configuration.
1 Generate RSA keys.
2 Obtain the content of the RSA public key and configure it in SSH Public Keys
To use SVN on Gitee, please visit the usage guide
When using the HTTPS protocol, the command line will prompt for account and password verification as follows. For security reasons, Gitee recommends configure and use personal access tokens instead of login passwords for cloning, pushing, and other operations.
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # Private Token
main
Branches (474)
Tags (109)
main
gh-pages
maint/v1.8
ethomson/readme
ethomson/test_allocator
ethomson/fetch_opts
ethomson/config_entry
ethomson/sha256_transport
ethomson/alloc
ethomson/cb_err
ethomson/httpparser2
ethomson/httpparser
ethomson/tlsv12
ethomson/user_agent
ethomson/ci
ethomson/v18
ethomson/sha256_fix
ethomson/ctype
ethomson/mbedtls
ethomson/oops
v1.8.1
v1.8.0
v1.7.2
v1.6.5
v1.7.1
v1.7.0
v1.6.4
v1.6.3
v1.6.2
v1.6.1
v1.5.2
v1.4.6
v1.5.1
v1.4.5
v1.5.0
v1.4.4
v1.3.2
v1.3.1
v1.4.3
v1.4.2
libgit2
/
include
/
git2
/
oidarray.h
libgit2
/
include
/
git2
/
oidarray.h
oidarray.h 914 Bytes
Copy Edit Raw Blame History
Edward Thomson authored 2021年09月27日 05:58 +08:00 . oidarray: introduce git_oidarray_dispose
/*
* Copyright (C) the libgit2 contributors. All rights reserved.
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_git_oidarray_h__
#define INCLUDE_git_oidarray_h__
#include "common.h"
#include "oid.h"
GIT_BEGIN_DECL
/** Array of object ids */
typedef struct git_oidarray {
git_oid *ids;
size_t count;
} git_oidarray;
/**
* Free the object IDs contained in an oid_array. This method should
* be called on `git_oidarray` objects that were provided by the
* library. Not doing so will result in a memory leak.
*
* This does not free the `git_oidarray` itself, since the library will
* never allocate that object directly itself.
*
* @param array git_oidarray from which to free oid data
*/
GIT_EXTERN(void) git_oidarray_dispose(git_oidarray *array);
/** @} */
GIT_END_DECL
#endif
Loading...
Report
Report success
We will send you the feedback within 2 working days through the letter!
Please fill in the reason for the report carefully. Provide as detailed a description as possible.
Please select a report type
Cancel
Send
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

About

libgit2 is a portable, pure C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application.
Cancel

Releases

No release

Contributors

All

Activities

can not load any more
Edit
About
Homepage
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Paul1960/libgit2.git
git@gitee.com:Paul1960/libgit2.git
Paul1960
libgit2
libgit2
main
Going to Help Center

Search

Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register

AltStyle によって変換されたページ (->オリジナル) /