Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
c1239e33
Commit
c1239e33
authored
Feb 25, 2017
by
Patrick Blesi
Committed by
GitHub
Feb 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix minor typos in CONVENTIONS.md
parent
7143145f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CONVENTIONS.md
+2
-2
No files found.
CONVENTIONS.md
View file @
c1239e33
...
@@ -18,11 +18,11 @@ other's toes.
...
@@ -18,11 +18,11 @@ other's toes.
-
If a function returns an object as a return value, that function is
-
If a function returns an object as a return value, that function is
a getter and the object's lifetime is tied to the parent
a getter and the object's lifetime is tied to the parent
object. Objects which are returned as the first argument as a
object. Objects which are returned as the first argument as a
pointer-to-pointer are owned by the caller and it is re
p
sponsible
pointer-to-pointer are owned by the caller and it is responsible
for freeing it. Strings are returned via
`git_buf`
in order to
for freeing it. Strings are returned via
`git_buf`
in order to
allow for re-use and safe freeing.
allow for re-use and safe freeing.
-
Most of what libgit2 does relates to I/O so
you
as a general rule
-
Most of what libgit2 does relates to I/O so as a general rule
you should assume that any function can fail due to errors as even
you should assume that any function can fail due to errors as even
getting data from the filesystem can result in all sorts of errors
getting data from the filesystem can result in all sorts of errors
and complex failure cases.
and complex failure cases.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment